Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = list(map(int, input().split()))
- print ("Четные")
- for i in range(len(a)):
- if a[i] % 2 == 0:
- print(a[i])
- print ("Нечетные")
- for i in range(len(a)):
- if a[i] % 2 == 1:
- print(a[i])
Advertisement
Add Comment
Please, Sign In to add comment