def hello(name): print(f"hello, {name}. Nice to see you.") def bye(name): print(f"Bye, {name}. See you next time.") def hello_bye(name): hello('Yue') bye('Yue') my_func = hello my_func('Yue') my_func('Bun') my_func = bye my_func('Yue') my_func('Bun') greetings = { "hello": hello, "bye": bye } greetings["hello"]("Jane") greetings["bye"]("Jane")