随笔分类 -  s12

摘要:python s12 day2 入门知识拾遗 http://www.cnblogs.com/wupeiqi/articles/4906230.html 基本数据类型 注:查看对象相关成员 var,type,dir 一、整数 如: 18、73、84 每一个整数都具备如下功能: class int(ob 阅读全文
posted @ 2016-12-26 19:25 redis3389 阅读(155) 评论(0) 推荐(0)
摘要:python s12 day3 深浅拷贝 对于 数字 和 字符串 而言,赋值、浅拷贝和深拷贝无意义,因为其永远指向同一个内存地址。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import copy # ######### 数字、字符串 ######### n1 = 12 阅读全文
posted @ 2016-12-26 19:22 redis3389 阅读(280) 评论(0) 推荐(0)