Created
August 3, 2020 12:33
-
-
Save BMU-Verlag/a0ba9ed46afae363074ccc0a9669d05f 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 addieren (x, y): | |
return x + y | |
def multiplizieren (x, y): | |
return x * y | |
def berechnen (func, x, y): | |
return func(x, y) | |
print("Addieren:", berechnen (addieren, 2, 3)) | |
print("Multiplizieren:", berechnen (multiplizieren, 2, 3)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment