代码示例:(标识:python_numbers)
python_numbers.py
x = 10
y = 6.3
z = 2j

print(type(x))
print(type(y))
print(type(z))
运行结果: