Python的基本数据类型以及进制的互相转换

  一、python的基本数据类型: 1.整型与浮点型           Number:数字。(整数int,浮点数float)           浮点数:其他语言有单精度(float),双精度(double)           函数:type(1) 查看1的数据类型,type(1+0.1)      >>> type(4/2) <class 'float'> >>> type(4//2) <
相关文章
相关标签/搜索