+ 1

If you have a simpler method, thank you for telling me

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

23rd Jun 2021, 11:20 AM
Mohammad Amini
Mohammad Amini - avatar
3 Antworten
+ 1
import re password = input() d = len(re.findall(r"[!@#$%&*]",password)) g = len(re.findall(r"\d",password)) if d>=2 and g>=2 and len(password)>=7: print ('Strong') else : print ('Weak')
23rd Jun 2021, 11:58 PM
visph
visph - avatar
0
https://code.sololearn.com/c7r247tcwo2Y/?ref=app Trying this but not able to get return values
23rd Jun 2021, 6:35 PM
Zahed Shaikh
Zahed Shaikh - avatar
0
Thanks for your attention
24th Jun 2021, 3:07 AM
Mohammad Amini
Mohammad Amini - avatar