数据类型:type()
# 直接输出
print(type(6))
print(type(6.6))
print(type("六六六"))
# 使用变量存储结果
int_type = type(6)
float_type = type(6.6)
string_type = type("六六六")
print(int_type)
print(float_type)
print(string_type)
# 查看变量存储的数据信息
name = "你好"
name_type = type(name)
print(name_type)