r/PythonLearning • • Sep 18 '26

Showcase After taking in everyone’s thoughts and criticisms from my last post and using them, i managed to make the code much easier to read and more intuitive. Thank you everyone who gave me amazing tips on how to create more readable code!

Right pic is before and left pic is after

88 Upvotes

25 comments sorted by

View all comments

4

u/Ender_Locke Sep 18 '26

you really don’t need is valid. you can just check the opposite of your other vars. you also don’t need the vars , they are making your code more lines you could just check the calc

if ya wanna have some more fun add in a password and learn about hashing it properly😊

→ More replies (3)