Skip to content

Instantly share code, notes, and snippets.

@desg
Created July 18, 2012 17:02
Show Gist options
  • Save desg/3137477 to your computer and use it in GitHub Desktop.
Save desg/3137477 to your computer and use it in GitHub Desktop.
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