Created
May 12, 2017 11:17
-
-
Save odanga94/b21407b791d1b91d5a791184deed7610 to your computer and use it in GitHub Desktop.
PracticePython/Exercise7
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
a = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100] | |
c = [x for x in a if x % 2 == 0] | |
print(c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment