12.int类型

#bit_lenth
i = 66
print(i.bit_length())
# 转化成二进制的最小位数。
"""
1     0000 0001
2     0000 0010
3     0000 0011
4     0000 0100
"""
原文地址:https://www.cnblogs.com/osses/p/8651900.html