python 查看数据类型
# 整型 a = 250 print(a, type(a)) # 浮点 b = 3.14 print(b, type(b)) # 科学计数法 c = 3.1415926e-3 print(c, type(c)) # 复数:了解 d = 2 + 3j print(d, type(d))
# 布尔 a = True b = False print(a, type(a)) print(b, type(b)) c = None print(c, type(c))
# 整型 a = 250 print(a, type(a)) # 浮点 b = 3.14 print(b, type(b)) # 科学计数法 c = 3.1415926e-3 print(c, type(c)) # 复数:了解 d = 2 + 3j print(d, type(d))
# 布尔 a = True b = False print(a, type(a)) print(b, type(b)) c = None print(c, type(c))