2018年11月21日
摘要: 列表:list, 列表存放的数据可以是不同类型。 增删改查: 增,append(),insert(),extend() 删,pop(),remove(),clear(),del 改, 查, 列表的嵌套, join, range(), 阅读全文
posted @ 2018-11-21 15:11 许小志 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 数据类型: int,bool,str,list,元祖,dict,集合。 int: 1,2,3整数类型,用于计算。 bit_length(),用于计算二进制长度。 int与str互相转换 int与bool互相转换 bool: True,False,用于判断真假 bool与str互相转换 小技巧:因为程 阅读全文
posted @ 2018-11-21 13:39 许小志 阅读(129) 评论(0) 推荐(0) 编辑