摘要: print(sum) sum = 42 print(sum) def inc(n): sum = n+1 print(sum) return sum sum = inc(7) + inc(7) print(sum) 1.Built-in 2.Global 3.Local 4.Global def f 阅读全文
posted @ 2022-05-10 14:46 JskyR 阅读(15) 评论(1) 推荐(0) 编辑