0
About > Code Coach > Password Validation
I wrote the code and its workinf fine but i dont get the idea of how to pass all the tests in once, can i get a help with it please, thanks. Code of Passwors Validation: https://code.sololearn.com/cIRnxLOiHffa/?ref=app Please feel free to correct me if there is any mistakes :)
6 Respostas
0
I actually tried it its working fine but i tried many code coach challenges and im always facing the same problem like, how can i get to pass all the tests in once
+ 6
You need to take user input.
+ 5
Leeby Something weird is happening when password length < 7.
You should be able to find it out :)
+ 1
Not sure, but you might have an indentation issue around this here:
else:
if verbose:
Looks like if your else branch was only executed, if the loop before it wasn't. Please verify this.
+ 1
The correct solution and only this would lead to all test cases passed (and therefore mark the solution green). Any solution, which only works for a few test cases is not the final and correct solution.
0
Kevin ★
Oh thanks so much for that because i was actually ignoring it the whole time and typing the password by myself.
But still though i passed all of the test caes except case 4 and its hidden =)