Created
July 18, 2012 17:02
-
-
Save desg/3137477 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 map(list,func): | |
x = 0 | |
for len(list) in x: | |
new_list = new_list.append(func(list[x])) | |
x += 1 | |
return new_list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment