python中的所有函数大全都在

函数的文档说明

def test(a,b):
… “用来完成对2个数求和”
… print("%d"%(a+b))

test(11,22)
33

如果执行,以下代码

help(test)

能够看到test函数的相关说明

 

猜你喜欢

转载自blog.csdn.net/fenghumen/article/details/107969082