2018年2月3日

python中的字符数字之间的转换函数

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

posted @ 2018-02-03 15:22 JungleFish 阅读(9179) 评论(0) 推荐(0) 编辑

导航