+ 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!
2 Answers
+ 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.
+ 1
Russ Thank you very much!