,说明3是整数类型(Interger);则告诉我们那个对象是浮点型(Floating point real number)。与id()的结果类似,type()得到的结果也是只读的。
双语例句
1
The difference lies in the fact that floating-point data types used in computers can't hold every realnumber.
区别在于一个事实:计算机中使用的浮点数据类型无法包含每个实数。
2
Many of the familiar algebraic rules for realnumber arithmetic do not always hold for floating-point arithmetic.
对于浮点算法而言,许多惯用的实数算法代数规则有时并不适用。
3
Floating-Point literals may also be represented using exponential notation: a realnumber followed by the letter e(or E), followed by an optional plus or minus sign, followed by an integer exponent.