0
Password Validation Test #8 failed
Hi! I wrote Password Validation code. It passes all tests except #8. Who knows what is it testing? Or what kind of bug may be in code? My code: https://code.sololearn.com/cmRWvD6igRke/?ref=app
2 Respostas
+ 4
You use count for checking both: numbers and special signs.
Then you only check if count >= 4.
But what if I enter more than 3 numbers and no special signs?
input: 1234abcde
output: strong //should be weak
+ 1
Thanks a lot!