Hey everyone! I'm revisiting my first Python program and looking for feedback to improve it. I shared my code in a previous post, but it's not working quite as I hoped. You can check it out here: https://pastezen.com/share/iMYEJyb6K. I'm also curious if my comments in the code are clear enough and if they stick to the guidelines for coding. Any advice for a beginner looking to land a job in IT would be greatly appreciated!
1 Answer
You're off to a solid start! One suggestion would be to use more functions in your code. It'll really help with organizing things better and making your code reusable. Also, have you thought about using dictionaries? They can be a lot cleaner than managing a bunch of lists. For example, instead of having long if statements, you could set up dictionaries to manage your data more efficiently. Plus, this might make your code a bit easier to read and maintain!
Thanks for the tips! I’m not too familiar with functions yet, but I’ll definitely look them up. Do you think it’s okay to just focus on Python for now as I get comfortable with coding, or should I branch out to other languages?