Created
April 2, 2020 14:41
-
-
Save kervel/ee81b728afa48a86fcd75a9e9e31309c to your computer and use it in GitHub Desktop.
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