Advertisement
George_Ivanov05

0.2

May 26th, 2021
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. word = input()
  2. ind = []
  3. for i in range(len(word)):
  4.     if word[i].isupper():
  5.         ind.append(i)
  6. print(ind)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement