0
what's my mistake? (password validation)
https://code.sololearn.com/cYQ8Wpz77hgc/?ref=app this is my solution for the password validation exercise. it works for every test case but the 13th what mistake did i make?
14 odpowiedzi
+ 2
# Patrick Zender , (⌐■_■) with regex
import re
pw = input()
if len(re.findall(r"[@!%&*#$]", pw))>1 and len(re.findall(r"\d", pw))>1 and len(pw)>6:
print("Strong")
else:
print("Weak")
https://code.sololearn.com/cYx64efnhAvA
+ 3
without regex
https://code.sololearn.com/c6rCU16ikZ2U
+ 2
SoloProg already tried it before and doesn't change anything :( but ty
+ 2
SoloProg tried this too but still no change... guess i just shouldnt use regex for that😂🥲
+ 1
(👉゚ヮ゚)👉 https://regexlearn.com
+ 1
SoloProg oh wow🤦🏻♂️ thanks tho🍻
+ 1
You're welcome
0
It doesn't make sense
0
But it works already
0
No mistake
0
Eltaf Hossain Pradip Yadav it didn't work for the last test case for me tho :( but it worked with the solution from soloprog👍🏻
0
What app are you on
0
Osmany Baluta ios mobile version
0
What is ios mobile version