PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#this is a resolution of a python challenge named password validation
# Degree :hard
# Rem : it wasn \' t that hard actually :\
password = input()
# Check length
if len(password) < 7 :
print("Weak")
exit()
# check special characters
split_pass = [x for x in password]
special_characters = ['!', '@', '#', '$', '%', '&', '*']
existing_characters = []
Enter to Rename, Shift+Enter to Preview
OUTPUT
Запуск