Skip to content

Instantly share code, notes, and snippets.

@juanjoseexpositogonzalez
Created July 15, 2025 19:59
Show Gist options
  • Select an option

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

Select an option

Save juanjoseexpositogonzalez/de5d83a66b7da4b9037d4073a234b6e2 to your computer and use it in GitHub Desktop.
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