摘要: python中的字符数字之间的转换函数 int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) 将x转换到一个浮点数 complex(real [,imag ]) 创建一个复数 str(x ) 将对象 x 转换为字符串 repr 阅读全文
posted @ 2019-05-24 16:16 仙水阳 阅读(231) 评论(0) 推荐(0)