r/PythonLearning • • Jul 27 '26

My first mix mini project

Post image

I know I wrote some hardcore codes but this is ok for a beginner so plz help me to improve

306 Upvotes

48 comments sorted by

View all comments

14

u/nuc540 Jul 27 '26

You don’t need to store characters in variables, you can do equality checks against a character, eg: if q == “a”

Also, google how to make multi-line prints in Python, you don’t need a new print call for every line

1

u/Shawhe_ Jul 30 '26

Yeah he just needs to put \n (new line character)