python类型转换
摘要:
Python 提供了将变量或值从一种类型转换成另一种类型的内置函数 int(x [,base ]) 将 x 转换为一个整数 long(x [,base ]) 将 x 转换为一个长整数 float(x ) 将 x 转换到一个浮点数 complex(real [,... 阅读全文
posted @ 2020-03-20 15:03 lizhuohui 阅读(93) 评论(0) 推荐(0)
posted @ 2020-03-20 15:03 lizhuohui 阅读(93) 评论(0) 推荐(0)