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