Advertisement
nq1s788

8 (номер первой нач на У)

Jan 10th, 2024
1,308
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. x = 'АПРСУ'
  2. cnt = 0 #текущий номер
  3. for a in x:
  4.     for b in x:
  5.         for c in x:
  6.             for d in x:
  7.                 cnt += 1
  8.                 if a == 'У':
  9.                     print(cnt)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement