PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
special=['!', '@', '#', '$', '%', '&', '*']
my_list=[]
my_list2=[]
sentence=input()
for character in special:
count=sentence.count(character)
my_list.append(count)
numbers=["1","2","3","4","5","6","7","8","9","0"]
for number in numbers:
count2=sentence.count(number)
my_list2.append(count2)
if sum(my_list)>=2 and sum(my_list2)>=2 and len(sentence)>=8:
print('Strong')
else:
print('Weak')
Enter to Rename, Shift+Enter to Preview
OUTPUT
Запуск