+ 1

How to complete function for password validation? (Python)

Hi, everybody! Stack a bit with following code: https://code.sololearn.com/cu3bCAJZqqUr Need to make it looks like: While True: # Option 1 OK # Option 2 OK # Option 3 OK print True else print(which #Option (1,2 and/or 3) Not OK) Thanks for any assistance!

4th Mar 2020, 12:39 PM
Stanislav Voloshchuk
Stanislav Voloshchuk - avatar
2 odpowiedzi
+ 1
My amendments: https://code.sololearn.com/ciTicZg8a177/?ref=app Your "while True" loops made no sense as they never executed more than once so I've adapted them into functions.
4th Mar 2020, 4:38 PM
Russ
Russ - avatar
+ 1
Russ Thank you very much!
4th Mar 2020, 5:20 PM
Stanislav Voloshchuk
Stanislav Voloshchuk - avatar