Farz0l1x

Untitled

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