Created
October 19, 2019 02:10
-
-
Save adrianmarkperea/3e9c4b794fd7e6f8a9506a560cc234ae 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 say_hello(name): | |
print(f'Hello, {name}!') | |
def say_goodbye(name): | |
print(f'Goodbye, {name}!') | |
def say_to_bob(fun): | |
fun('Bob') | |
say_to_bob(say_hello) | |
say_to_bob(say_goodbye) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment