SHARE
TWEET

Untitled

a guest Jul 21st, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i in list1:
  2.     if i%2==0:
  3.         even.append(i)
  4.     else:
  5.         odd.append(i)
  6. print(even)
  7. print(odd)
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