-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path8DigitPassword
More file actions
41 lines (38 loc) · 1.21 KB
/
8DigitPassword
File metadata and controls
41 lines (38 loc) · 1.21 KB
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
31
32
33
34
35
36
37
38
39
40
41
#
a=[0,0,0,0,0,0,0,0]
ss=0
for i in range(8):
for k in range(8):
for l in range(8):
for m in range(8):
for n in range(8):
for p in range(8):
for r in range(8):
for s in range(8):
ss+=1
a=[s,r,p,n,m,l,k,i]
if a.count(0)==a[0] and a.count(1)==a[1] and a.count(2)==a[2] and a.count(3)==a[3] and a.count(4)==a[4] and a.count(5)==a[5] and a.count(6)==a[6] and a.count(7)==a[7]:
print(a)
break
else:
continue
break
else:
continue
break
else:
continue
break
else:
continue
break
else:
continue
break
else:
continue
break
else:
continue
break
print(ss)