摘要: 函数 def 函数 return 的注意点 和 函数文档 变量的作用域 局部变量 全局变量 # 局部变量 def testA(): a = 100 print(a) testA() 函数的返回值 def test1(): # return 1, 2 # 默认 返回的是 元组 # return [10 阅读全文
posted @ 2022-02-20 10:12 伴你如风 阅读(16) 评论(0) 推荐(0) 编辑