Python 将函数设置为字典的值

目录函数 1. 首先编写须要调用的函数code 2. 根据须要编写函数字典orm 3. 调用函数字典并运行form 1. 首先编写须要调用的函数 def test1(s): print("a:{}".format(s)) def test2(s1,s2): print("b:{} {}".format(s1,s2)) 2. 根据须要编写函数字典 # 定义
相关文章
相关标签/搜索