Last active
June 1, 2017 09:24
-
-
Save PEKTOP/03a74a818c9c35851e4504d38ea66ac1 to your computer and use it in GitHub Desktop.
coin32
This file contains hidden or 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 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