Created
April 28, 2017 15:13
-
-
Save volgoweb/55f235438806917071e204b7c427429b to your computer and use it in GitHub Desktop.
This file contains 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 x: i*x 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