def fun(a): a = a +1 return aprint (fun(4))结果:5fun2 = lambda a:a+1 #冒号前为形参,可以是多个;冒号后面的函数体print (fun2(18))结果:19