摘要: 在python中,对于可变(mutable)类型的变量,有一个地方需要注意,那就是+=运算符 太长不看版:python中,list+=list只会改变list,list=list+list会产生一个新的list 以下是详细解释,也可以查看原文: The general answer is that  阅读全文
posted @ 2017-06-03 16:50 toDoYourBest 阅读(1325) 评论(0) 推荐(0)