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?

13th Jan 2023, 10:08 PM
Patrick Zender
Patrick Zender - avatar
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
13th Jan 2023, 11:31 PM
SoloProg
SoloProg - avatar
13th Jan 2023, 10:43 PM
SoloProg
SoloProg - avatar
+ 2
SoloProg already tried it before and doesn't change anything :( but ty
13th Jan 2023, 10:27 PM
Patrick Zender
Patrick Zender - avatar
+ 2
SoloProg tried this too but still no change... guess i just shouldnt use regex for that😂🥲
13th Jan 2023, 10:56 PM
Patrick Zender
Patrick Zender - avatar
+ 1
(👉゚ヮ゚)👉 https://regexlearn.com
13th Jan 2023, 11:12 PM
SoloProg
SoloProg - avatar
+ 1
SoloProg oh wow🤦🏻‍♂️ thanks tho🍻
13th Jan 2023, 11:35 PM
Patrick Zender
Patrick Zender - avatar
+ 1
You're welcome
13th Jan 2023, 11:37 PM
SoloProg
SoloProg - avatar
0
It doesn't make sense
13th Jan 2023, 11:51 PM
Osmany Baluta
Osmany Baluta - avatar
0
But it works already
15th Jan 2023, 4:22 PM
Eltaf Hossain
Eltaf Hossain - avatar
0
No mistake
15th Jan 2023, 4:26 PM
Pradip Yadav
Pradip Yadav - avatar
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👍🏻
15th Jan 2023, 4:28 PM
Patrick Zender
Patrick Zender - avatar
0
What app are you on
15th Jan 2023, 8:09 PM
Osmany Baluta
Osmany Baluta - avatar
0
Osmany Baluta ios mobile version
16th Jan 2023, 5:15 AM
Patrick Zender
Patrick Zender - avatar
0
What is ios mobile version
24th Jan 2023, 10:42 PM
Osmany Baluta
Osmany Baluta - avatar