Created
September 11, 2014 21:08
-
-
Save utinajerolps/2fb7927891190a88d17a 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
def purify(numbers): | |
lst = [] | |
for number in numbers: | |
if number % 2 == 0: | |
lst.append(number) | |
return lst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment