python之函数用法bin()
# -*- 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
无语言基础,自学python所做的各种笔记,欢迎大牛指点.