PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
str=input()
count=0
sc_count =0 #count for special chars
a=['!', '@', '#', '$', '%', '&', '*']
for i in str:
if i.isdigit():
count=count+1
if i in a:
sc_count=sc_count+1
if len(str)>7 and count >1 and sc_count >=2:
print("Strong")
else:
print("Weak")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run