Skip to content

Instantly share code, notes, and snippets.

@zhpmatrix
Created June 18, 2016 15:35
Show Gist options
  • Save zhpmatrix/a7f471ed3266a5ada071c212dc83cd4a to your computer and use it in GitHub Desktop.
Save zhpmatrix/a7f471ed3266a5ada071c212dc83cd4a to your computer and use it in GitHub Desktop.
def add(x):
return x + 100
data = [11,22,33]
dict = {}
dict = map(add,data)
print dict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment