摘要: 1 print(sum) 2 sum = 42 3 print(sum) 4 def inc(n): 5 sum = n+1 6 print(sum) 7 return sum 8 sum = inc(7) + inc(7) 9 print(sum) 1.Built-in 2.Global 3.Lo 阅读全文
posted @ 2022-05-10 21:21 张博睿 阅读(5) 评论(1) 推荐(0) 编辑