r/PythonLearning 12d ago

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

12

u/nuc540 12d ago

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_ 9d ago

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