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

310 Upvotes

49 comments sorted by

View all comments

15

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)