PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Created by Justus
import re
pword=input() or "Sololearn@8"
pattern = r"[@#$&_!?*/\%-]"
if len(pword) >5:
if re.search(r"\d+",pword):
if re.search(pattern,pword):
print("True")
else:
print("False")
else:
print("False")
else:
print("False")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run