摘要: Python语言特性 1 Python的函数参数传递 看两个例子: Python 1 2 3 4 5 a = 1 def fun(a): a = 2 fun(a) print a # 1 Python 1 2 3 4 5 a = [] def fun(a): a.append(1) fun(a) p 阅读全文
posted @ 2017-08-01 11:30 SHANGUAN 阅读(342) 评论(0) 推荐(0)