Created
July 28, 2025 07:52
-
-
Save juanjoseexpositogonzalez/eeeea7b4b6f91f8e5bcd754d1d3e0a08 to your computer and use it in GitHub Desktop.
Code snippet: List comprehension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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