Skip to content

Instantly share code, notes, and snippets.

@juanjoseexpositogonzalez
Created July 27, 2025 21:22
Show Gist options
  • Select an option

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

Select an option

Save juanjoseexpositogonzalez/329c9db1f8fc437c7693a53a2af807d1 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