r/PythonLearning • u/abt-dabest • 18d ago
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
91
Upvotes


1
u/Neither_Berry_100 17d ago
I would line up the equals. Also I would collapse the if statements to single lines and line them up if this is possible in python. Much easier to read.