1、
callable()
|
2、def 定义函数
最后注意加return,不加return则函数值无法被别的函数调用
def 函数名(形参):
‘文档字符串’
return 值
函数.__doc__ 用来显示文档字符串