Created
April 2, 2020 14:05
-
-
Save kervel/1eaabb723e6e0fcd57ff845e7ddc759d to your computer and use it in GitHub Desktop.
say my name
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 say_my_name(name): | |
""" | |
Print the current widget value in short sentence | |
""" | |
print(f'My name is {name}') | |
widgets.interact(say_my_name, name=["Jim", "Emma", "Bond"]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment