mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-22 11:56:33 +03:00
13 lines
374 B
Python
Vendored
13 lines
374 B
Python
Vendored
alf = "алпця"
|
||
cnt = 1
|
||
for a in alf:
|
||
for b in alf:
|
||
for c in alf:
|
||
for d in alf:
|
||
for e in alf:
|
||
w = a + b + c + d + e
|
||
if w.count("а") <= 1 and w.count("ц") == 2 and w.count("л") == 0:
|
||
print(cnt)
|
||
raise
|
||
cnt += 1
|