-
-
Save fatosmorina/11f536f11d9ce1c6c2f9a71fc619b875 to your computer and use it in GitHub Desktop.
This file contains 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
even_numbers = [number for number in numbers if number % 2 == 0] | |
print(even_numbers) # [2, 4, 6, 8] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment