0
n = input() a = 0 b = 0 for i in n: if i in "1,2,3,4,5,6,7,8,9": a = a+1 if i in "'!', '@', '#', '#x27;, '%', '&',
Why it is failed in test case 4
4 odpowiedzi
+ 5
Shaik.Shahir ,
i suppose that you try to solve the "password validator", but your code seems like incomplete. to get an idea why the issue appears, we need to see your complete code. put it in playground and then link it here. do not put the code directly in the text area.
thanks!
+ 3
And what is it ?
Also did you even cared to look that question title allows limited characters only . Instead of posting code in question title use description for that and use question title for what it really is.
+ 1
1.You did not used b variable.
2.instead of i in bla bla use i.isdigit()
+ 1
Thanks