1 函数def say_hello: print("hello") #打印hellodef greetings(x='Good morning!'):print(x) # 打印Good morninggreetings("Good everybody"):