Sofya_Soloveva_

Untitled

Jul 15th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. lst = list(map(int, input().split()))
  2. for i in range(len(lst)):
  3.     if lst[i]%2 == 0:
  4.         print(lst[i])
  5. for i in range(len(lst)):
  6.     if lst[i]%2 != 0:
  7.         print(lst[i])
Advertisement
Add Comment
Please, Sign In to add comment