Password validation not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Password validation not working

Failed test 5 and 12 https://code.sololearn.com/cmcy61s0papB/?ref=app

9th Sep 2020, 5:58 PM
Redstoneinvente Game Studio
Redstoneinvente Game Studio - avatar
6 Answers
+ 3
Don't type your code here! You can type it in the code playground and paste the link to the code here.
9th Sep 2020, 6:05 PM
Rawley
Rawley - avatar
9th Sep 2020, 6:06 PM
Redstoneinvente Game Studio
Redstoneinvente Game Studio - avatar
0
Thanks
9th Sep 2020, 6:07 PM
Redstoneinvente Game Studio
Redstoneinvente Game Studio - avatar
0
You write SpecialChar != 2, so there may be special chars more than 2 or equal to 2 so that case it fails.. It also shloud be SpecialChar < 2 Others I did not see.. Is this not for code coach?
9th Sep 2020, 7:14 PM
Jayakrishna 🇮🇳
0
Yeah
10th Sep 2020, 3:16 AM
Redstoneinvente Game Studio
Redstoneinvente Game Studio - avatar
0
I thought it should only have 2 special chars
10th Sep 2020, 3:16 AM
Redstoneinvente Game Studio
Redstoneinvente Game Studio - avatar