kkalog

Untitled

Jul 21st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. list1 = [5,6,77,45,22,12,24]
  2. even_num_list = [x for x in list1 if x%2!=0]
  3. print even_num_list
Advertisement
Add Comment
Please, Sign In to add comment