Advertisement
nq1s788

8 (сколько штук)

Jan 6th, 2024
1,065
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. alph = 'УЧЕНИК'
  2. answ = 0
  3. for a in alph:
  4.     for b in alph:
  5.         for c in alph:
  6.             for d in alph:
  7.                 for e in alph:
  8.                     if a == 'У' and c == 'К':
  9.                         answ += 1
  10. print(answ)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement