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

30th Mar 2020, 8:01 PM
Mikhail Zhidkov
Mikhail Zhidkov - avatar
2 odpowiedzi
+ 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
30th Mar 2020, 8:21 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Thanks a lot!
31st Mar 2020, 3:06 AM
Mikhail Zhidkov
Mikhail Zhidkov - avatar