def display():#无参数 print("No") return# display()def callfun():#调用 print("2") display() returncallfun()def message(name): #一个参数 print('Hello:'+name) returnmessage('NanJing')#调用message('BeiJing')def message(greeting,name):#两个参数 return greeting+","+namemsg=message('Hello','Jack')show=message('Hello','Ma')print(msg)#调用print(show)def Add(a,b):#两参数 c=int(a)+int(b) print(c) returnAdd(10,20)#调用