2018年11月22日
摘要: 增: 删: 改: 查: dict字典嵌套: 阅读全文
posted @ 2018-11-22 12:55 许小志 阅读(136) 评论(0) 推荐(0) 编辑
  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) 编辑
  2018年11月20日
摘要: 1.Python历史: python2 与 python3的区别: python2 源代码不标准,混乱,重复代码太多。 python3 统一,标准,去除重复代码。 2.Python的环境: python是解释型,面向对象,高级编程语言。 编译型:一次性将所有程序编译成二进制文件。 缺点:开发效率低, 阅读全文
posted @ 2018-11-20 19:13 许小志 阅读(207) 评论(0) 推荐(0) 编辑