摘要: 数字对象 整型,浮点型,复数 转换 print(int(8.8)); 浮点型转换成整型 print(float(8));整型转换成浮点型print(complex(4,3)); 输出结果: 阅读全文
posted @ 2022-01-27 15:48 天上书生 阅读(43) 评论(0) 推荐(0) 编辑