# -*- coding: utf-8 -*- #python 27 #xiaodeng #python之函数用法bin() #bin() #说明:一个整数转换为一个二进制字符串 ''' bin(...) bin(number) -> string Return the binary representation of an integer or long integer. ''' print bin(28)#0b11100
# -*- coding: utf-8 -*- #python 27 #xiaodeng #python之函数用法bin() #bin() #说明:一个整数转换为一个二进制字符串 ''' bin(...) bin(number) -> string Return the binary representation of an integer or long integer. ''' print bin(28)#0b11100