作用:
用于数字之间的计算和运算.
实例 :
a = 20
print(type(a))
<class 'int'>
python2x和python3x的区别
python2x中
test = 9 / 2
print(test)
4
python3x中
test = 9 / 2
print(test)
4.5
作用:
用于数字之间的计算和运算.
实例 :
a = 20
print(type(a))
<class 'int'>
python2x和python3x的区别
python2x中
转载于:https://www.cnblogs.com/liwei-python-21/p/8743838.html