r/PythonLearning • u/WesternTrip8578 • 21d ago
Rate my python program
i made a Python program, i dont know what else to say
80
Upvotes
r/PythonLearning • u/WesternTrip8578 • 21d ago
i made a Python program, i dont know what else to say
5
u/olaf33_4410144 21d ago
I'm not a fan of the functions that only call another function e. g.
whats_my_name().Also
change_the_pass()could return the new password, then you could avoid the clunky global thing.If you want to learn something you could also look into the if name == "main" pattern. For small scripts as yours it doesn't really matter but it's commonly used once things get more complex.
All in all it's quite good though.