摘要: 一、函数中改变全局变量需要加global 1 value='c919' 2 3 def sky1(): 4 global value 5 value = '波音747' 6 return value 7 8 def sky2(): 9 value = '金门石头829' 10 return valu 阅读全文
posted @ 2022-09-01 20:07 心如__止水 阅读(52) 评论(0) 推荐(0) 编辑