SHARE
TWEET

Untitled

AnnaVolkova Jul 21st, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- coding: utf-8 -*-
  2. a=list(map(int,input().split()))
  3. for i in a:
  4.     while i%2==0:
  5.         print(i)
  6.         i+=1
  7. for i in a:
  8.     while i%2!=0:
  9.         print(i)
  10.         i+=1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top