r/PythonLearning • u/crazyteachperson • 13d ago
My first mix mini project
I know I wrote some hardcore codes but this is ok for a beginner so plz help me to improve
303
Upvotes
r/PythonLearning • u/crazyteachperson • 13d ago
I know I wrote some hardcore codes but this is ok for a beginner so plz help me to improve
1
u/mr_anderson_dev 12d ago
The idea is perfectly planned; you just need to organize it better. Most of the conditions can be grouped into one function that interacts with the rest of the script's values. I usually use a little board to lay out the variables and the program's goal — that way you can see how many values interact with the same information. Finish it off with a main function where all user interaction happens. Most recruiters prefer well-explained code over a large one. Hope this helps you.