Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list_numbers = list(map(int, input().split(' ')))
- for index in range(0,len(list_numbers)):
- num = list_numbers[index]
- if index % 2 != 0 and num %2 != 0:
- print(f"Index {index} -> {num}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement