*Python Bites!*
https://www.cleanpng.com/users/@katarnia.html

*Python Bites!*


I started the quarantine with MATLAB Scripting, then moved to LabVIEW Fundamentals and now, my new obsession is with Python.

The most amazing thing happened when my team at work started a Programming Challenge which put my learning into fast-track mode. Here's what I learned:

I was super excited to see my score after my first submission and guess what, I received a ZERO. Black-box testing was performed and I hardcoded the "User Input". ?? I had focused so much on the end result that I had forgotten the first step.

  1. This leads to my first lesson in writing a program. Break it down! The step-by-step Algorithm is the Magic mantra of improving your logical understanding and framing of your code.
  2. Using List and Dictionary -  You can loop over the elements through indexing, while the dictionary uses keys and values. If you want to create a game or check the repetition of elements, the dictionary is your best friend!
  3. The beauty of indentation - If you want to look at a clean and readable code. This teaches you!
  4. “While true:” - This lets the loop run infinitely until “break” is used.
  5. Defining variables - Use variable names related to the program, avoid numbers, no spaces. Camelcase and underscores create the neatest names in my opinion.
  6. As soon as you see a problem. Don't google! try asking the problem questions like, "What does it want to output?", "How can I break it down to its smallest components?

I hope you found this useful. The resources that I am using to learn are in the comments below. Happy learning!

"Sometimes simple things are the most difficult things to achieve" - Keanu Reeves

Thank you! Have a great week!


Thanks for sharing Lykha, we wish you the best!

Laukik Desai

E-Mobility | Motor Control | System Engineering | E-drive Drivability & Performance

4 年

What resources did you use for MATLAB scripting

Tushar Harale

Kotak Mahindra bank Deputy manager

4 年

Yes bt join link

Santosh Maharana

Software Process Automation Engineer

4 年

what projects you have done?

回复
Lykha Ahmed

Electronics Engineer at Johnson Electric

4 年

Resources used for learning: For Practice: https://www.hackerrank.com/ For Intro and Syntax: https://www.w3schools.com/python Like this comment so that it stays on top.

要查看或添加评论,请登录

Lykha Ahmed的更多文章

  • ?? Five Lessons Every New Electronics Engineer Should Know??

    ?? Five Lessons Every New Electronics Engineer Should Know??

    After working as avionics engineer and technical engineer, transitioning to a pure electronics role has been a journey…

  • Let's talk about the Auto industry!

    Let's talk about the Auto industry!

    We are about 7.8 billion and India's population is about 1.

    6 条评论
  • If Opportunity Doesn't Knock, Build A Door.

    If Opportunity Doesn't Knock, Build A Door.

    I always thought once I'm done with my undergraduate degree, I'll automatically be at my dream job. Apparently, that's…

    9 条评论
  • Taking the first step.

    Taking the first step.

    Dear Reader, I'm a 22 year old techie who loves to read, write and develop. I have thought about writing for almost…

    4 条评论

社区洞察

其他会员也浏览了