Created
August 3, 2020 12:37
-
-
Save BMU-Verlag/8bef634ee562d742976ef8307ced19f7 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 vervielfachen(n): | |
return lambda a : a * n | |
verdoppeln = vervielfachen(2) | |
verdreifachen = vervielfachen(3) | |
print("Verdoppeln:", verdoppeln(5)) | |
print("Verdreifachen:", verdreifachen(5)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment