def定义函数def sayhello(): print(“hello world”) sayhello() 如何做传入参数的做法def max(a,b): if a>b: reture a else: reture b print(max(2,3))