立即学习:https://edu.csdn.net/course/play/26676/338772?utm_source=blogtoedu
整数和浮点数(int float)
1.查看对象类型方式:type()
2.浮点数&定点数
3.int() 返回0
4.id(3)与id(3.0)返回内存地址
5.除法:5/2=2.5;
5%2=1(余数1)
5//2 =2 商
divmod(5,2)=(2,1)商2余1
6.help查询内置函数
7.q键可以退回交互模式
8.round(0.1+0.2,2)=0.3
round(1.2345)=1.234