Skip to content

Instantly share code, notes, and snippets.

@bee-san
Created July 23, 2018 18:45
Show Gist options
  • Select an option

  • Save bee-san/cfd3e85763e255bdf597a2f60190c47f to your computer and use it in GitHub Desktop.

Select an option

Save bee-san/cfd3e85763e255bdf597a2f60190c47f to your computer and use it in GitHub Desktop.
x = range(-5, 5)
all_less_than_zero = (num * num for num in x if num < 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment