文章目录 一、函数文档注释 二、函数的嵌套及其调用 1.函数的嵌套 2.函数之间的调用 三、递归函数 一、函数文档注释 在 函数的内部,使用 “”” 进行文档说明 “”” 快速查看函数文档内容 快捷键 ctrl + q #1.定义函数 def say_hello(): '''打招呼''' print('hello python 1') print('hello python 2') print('hello python 3') #2.调用函数