py点滴yan
numberint long float complex10 51924361L 0.0 3.14j100 -0x19323L 15.20 45.j----Python Number 类型转换int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) 将x转换到一个浮点数 complex(real [,imag ]) 创建一个复数 str(x )
原创
2021-10-11 09:24:24 ·
101 阅读 ·
0 评论