Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lst = list(map(int, input().split(', ')))
- indexes = []
- for i in range(len(lst)):
- if lst[i] % 2 == 0:
- indexes.append(i)
- print(indexes)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement