My password validation code stucks at test case 8. Please anyone help me with this and tell me my fault. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My password validation code stucks at test case 8. Please anyone help me with this and tell me my fault.

https://code.sololearn.com/cnRoO60G563M/?ref=app

24th May 2020, 7:15 PM
Arihant Kumar
Arihant Kumar - avatar
3 Answers
0
If there are, >3 numbers and a special charecter, 1 number, >3 special charecters, then it is not strong.. It must special_charecters>2 and numbers>2
24th May 2020, 7:21 PM
Jayakrishna 🇮🇳
+ 1
There was a thread about it today already, you're missing one condition to be checked -- for the existence of two *different* special character, not just their total number. https://www.sololearn.com/Discuss/2310943/?ref=app
24th May 2020, 7:23 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Thank u so much
24th May 2020, 7:23 PM
Arihant Kumar
Arihant Kumar - avatar