# Demonstrates defining a main function def main(): name = input("What's your name? ") hello(name) def hello(to="world"): print("hello,", to) main()