Skip to content

Instantly share code, notes, and snippets.

@juanjoseexpositogonzalez
Created July 28, 2025 02:37
Show Gist options
  • Select an option

  • Save juanjoseexpositogonzalez/e04d3a592f8fbddb291f9068850e9d2b to your computer and use it in GitHub Desktop.

Select an option

Save juanjoseexpositogonzalez/e04d3a592f8fbddb291f9068850e9d2b to your computer and use it in GitHub Desktop.
Code snippet: List comprehension
l = [num for num in range(101) if num%2]
print(l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment