Skip to content

Instantly share code, notes, and snippets.

@PEKTOP
Last active June 1, 2017 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PEKTOP/03a74a818c9c35851e4504d38ea66ac1 to your computer and use it in GitHub Desktop.
Save PEKTOP/03a74a818c9c35851e4504d38ea66ac1 to your computer and use it in GitHub Desktop.
coin32
def multipliers():
return [(lambda y: (lambda x: x * y))(i) for i in range(4)]
print [m(2) for m in multipliers()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment