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
Password = input()
Passwordlen = (len(Password))
key = ('!', '@', '#', '$', '%', '&', '*')
securitypass = 0
#First security check function
def sec1():
if Passwordlen > 7:
securitypass + 1
else:
securitypass + 0
#second security check function
def sec2():
if key in Password:
securitypass + 1
else:
securitypass + 0
#end process
if securitypass == 2:
print("Strong")
else:
print("weak")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run