2017年10月24日

Python类型转换和使用帮助信息

摘要: python类型转换 函数 描述int(x [,base ]) 将x转换为一个整数long(x [,base ]) 将x转换为一个长整数float(x ) 将x转换到一个浮点数complex(real [,imag ]) 创建一个复数str(x ) 将对象 x 转换为字符串repr(x ) 将对象 阅读全文

posted @ 2017-10-24 21:44 kelake 阅读(118) 评论(0) 推荐(0) 编辑

导航