Advertisement
Pastehsjsjs

Untitled

Jul 17th, 2023
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. letters = sorted(list(set(i for i in '«ЕГЭ - ЭТО ЗЛО, БОТАЙТЕ ВСЕРОС»' if i.isalpha())))
  2. idx = 0
  3. for a1 in letters:
  4. for a2 in letters:
  5. for a3 in letters:
  6. for a4 in letters:
  7. for a5 in letters:
  8. i = a1+a2+a3+a4+a5
  9. idx += 1
  10. if idx % 2 != 0 and i[:2] != 'ЕГЭ' and i.count('Е') <= 1 and i.count('Г') <= 1 and i.count('Э') <= 1:
  11. index = idx
  12. print(index)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement