2017年3月31日

python的基础数据类型笔记

摘要: 注意:此文章基于python3.0以上做的笔记。 python的基础数据类型大体有一下几种 一、int int类型有以下几种方法 1、bit_length 返回数据在内存中所占的比特位 如下: print(bin(37)) >>0b100101 a=37 print(a.bit_length()) 阅读全文

posted @ 2017-03-31 15:22 小强灰灰 阅读(208) 评论(0) 推荐(0) 编辑

导航