python面试相关

原文出处: https://github.com/taizilongxu/interview_pythonhtml Python语言特性 1 Python的函数参数传递 看两个例子:前端 a = 1 def fun(a): a = 2 fun(a) print a # 1 a = [] def fun(a): a.append(1) fun(a) print a # [1] 全
相关文章
相关标签/搜索