-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathz024.py
More file actions
executable file
·30 lines (26 loc) · 741 Bytes
/
z024.py
File metadata and controls
executable file
·30 lines (26 loc) · 741 Bytes
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
29
30
#!/usr/bin/env python
# def if_valid_password(p):
# L = p.split(",")
# for i in L:
# print(L)
# if len(i) < 6 or len(i) > 12:
# return False
# for c in i:
# if c not in "qwertyuioplkjhgfdsazxcvbnm":
# pass
# elif c not in "0123456789":
# pass
# elif c not in "QWERTYUIOPLKJHGFDSAZXCVBNM":
# pass
# elif c not in "@#":
# pass
# else:
# break
# for x in "123456789":
# for i in "3456":
# if i not in "x":
# pass
# print(i)
# # p = input("Type password: ")
# p = "ABd1234@1,a F#,2w3E*,2We3345"
# print(if_valid_password(p))