Can anyone help with this python project | Sololearn: Learn to code for FREE!
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

19th May 2020, 3:36 PM
Edilson Zau
Edilson Zau - avatar
5 Answers
+ 4
I think you should check differently the numbers and characters.... because they both should be present at least two times..
19th May 2020, 3:52 PM
ANJALI SAHU
+ 3
BEN_10🇮🇳 but I haven't and passed all the test cases... I have just counted special characters and numbers separately🙂
19th May 2020, 4:22 PM
ANJALI SAHU
+ 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 ..
19th May 2020, 3:58 PM
ANJALI SAHU
+ 2
BEN_10🇮🇳 RAJESH SAHU I think i understand the problem a little better now, thank you i might be able to solve it. 😁
19th May 2020, 4:27 PM
Edilson Zau
Edilson Zau - avatar
+ 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?
20th May 2020, 10:16 PM
Nikrooz Heidari
Nikrooz Heidari - avatar