随笔分类 -  python

摘要:基础版转换 int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) 将x转换到一个浮点数 complex(real [,imag ]) 创建一个复数 str(x ) 将对象 x 转换为字符串 tuple(s ) 将序列 s 转换 阅读全文
posted @ 2023-05-15 19:14 松松哥、 阅读(19) 评论(0) 推荐(0)