def fun1(x): print('......................') x() def fun2(): print('**********************') fun1(fun2) #将fun2换为x,x()就相当于fun2(),即调用fun2