Farz0l1x

Untitled

Jan 15th, 2024
854
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. from itertools import *
  2. count = 0
  3. A = []
  4. for elem in product('АЕКНС', repeat = 6):
  5.     s = ''.join(elem)
  6.     A.append(s)
  7. for i in range(len(A)):
  8.     if A[i] == 'СЕНЕКА':
  9.         print(i + 1)
Advertisement
Add Comment
Please, Sign In to add comment