+ 2

Why's one of the 13 cases failing. What's missing?

Password validator challenge https://code.sololearn.com/cpw47b99WD45/?ref=app

3rd Sep 2020, 12:29 PM
kamya EDRINE
kamya EDRINE - avatar
2 Respuestas
+ 3
Your code fails for any input without digits in it, as you are only checking for special characters and length. For input like this : hello@#&() Your code outputs -> strong Accepted output -> weak
3rd Sep 2020, 12:35 PM
Arsenic
Arsenic - avatar
+ 1
3rd Sep 2020, 1:12 PM
kamya EDRINE
kamya EDRINE - avatar