#-*-coding:utf-8-*- ''' ''' # 返回二进制的位数 i = 1 a = 2 b = 3 print(i.bit_length()) print(a.bit_length()) print(b.bit_length())