Skip to content

Instantly share code, notes, and snippets.

@keyo
Last active December 20, 2015 06:39
Show Gist options
  • Save keyo/6087769 to your computer and use it in GitHub Desktop.
Save keyo/6087769 to your computer and use it in GitHub Desktop.
odd_numbers = [x in range(0,100) if x % 2 == 1]
even_numver = [x in range(0,100) if x % 2 == 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment