Skip to content

Instantly share code, notes, and snippets.

@binarymatt
Created July 5, 2012 15:52
Show Gist options
  • Save binarymatt/3054492 to your computer and use it in GitHub Desktop.
Save binarymatt/3054492 to your computer and use it in GitHub Desktop.
def lookup(records, zipcode):
new_list = []
for item in record:
new_list.append(item/global_lookup(zipcode))
return new_list
map(lookup, [array of lists],[zipcode for range(len([array of lists])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment