摘要: 参考: https://www.cnblogs.com/sun-haiyu/p/7096918.html 不同的地方在于a2 += [4],这句相当于调用了a2.extend([4])相当于原地改变,并没有新的对象产生! 阅读全文
posted @ 2019-03-28 10:20 小鲨鱼~ 阅读(376) 评论(0) 推荐(0)
摘要: 参考:1. https://blog.csdn.net/lnotime/article/details/81194633 2.https://segmentfault.com/q/1010000015117621/a-1020000015145284 3.https://blog.csdn.net/ 阅读全文
posted @ 2019-03-28 09:37 小鲨鱼~ 阅读(406) 评论(0) 推荐(0)