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!

3/4/2020 12:39:52 PM

Stanislav Voloshchuk

2 Answers

New Answer


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.


Russ Thank you very much!