摘要: 一、拾遗 1、在Python中数据又称为对象,每创建一个对象都会创建三个属性: (1)身份:id is 用来比较id,id一样,type和value肯定一样 (2)类型:type 用 type() 查看某一个对象的类型,例: type(1) is('a")可以判断类型是不是一样 (3)值:value 阅读全文
posted @ 2017-10-01 12:14 奔跑吧小白 阅读(819) 评论(0) 推荐(0) 编辑
levels of contents