Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- word = input()
- ind = []
- for i in range(len(word)):
- if word[i].isupper():
- ind.append(i)
- print(ind)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement