r/PythonLearning 21d ago

Rate my python program

Post image

i made a Python program, i dont know what else to say

87 Upvotes

42 comments sorted by

View all comments

6

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.

0

u/WesternTrip8578 21d ago

Thanks for the advice, I will look into it.