摘要: 1. 闭包函数 # 闭包函数的两大特征 1.闭:定义在函数内部的函数 2.包:内部函数使用了外层函数名称空间中的名字 def print_python_cat(): index = 999 def python_cat(): print('from print_python_car>>>python 阅读全文
posted @ 2022-03-18 16:53 thrombus 阅读(50) 评论(0) 推荐(0)