mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-28 14:23:43 +03:00
13 lines
374 B
Python
13 lines
374 B
Python
|
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
|