通过变量调用函数 2017-05-15 本文已影响0人 leomei91 函数如下 def hello(): print("hello world!") 第一步:将函数赋值给变量 a = hello 第二步:调用变量 a() hello world!