New course! Every coder should learn Generative AI!
Try a free lesson+ 3
Can anyone help with this python project
It is for the challenges and I keep getting all but 4 scenarios correct, I don’t understand why it is not fully correct though. Anyone to help? https://code.sololearn.com/c86Wl9W7ZG8G/?ref=app
5 Answers
+ 4
I think you should check differently the numbers and characters.... because they both should be present at least two times..
+ 3
BEN_10🇮🇳 but I haven't and passed all the test cases... I have just counted special characters and numbers separately🙂
+ 2
BEN_10🇮🇳 I don't think so he is getting error for the same number ... because it's not mention in the problem that it should have two different numbers ..
+ 2
BEN_10🇮🇳 RAJESH SAHU I think i understand the problem a little better now, thank you i might be able to solve it. 😁
+ 1
In your code password with 2 number but without special character is strong. Or verse. At firsr seperate this conditions. 2.add other character like '?' to your special character set. 3.do u have any idea to space in input?