Python数据类型
2019-12-21 本文已影响0人
畅游的蜗牛
整数(int) 8
浮点数(float) 8.8
字符串(str) "中国"
布尔(bool) true,false
判刑类型 type 如:type(8) bool type(True)
类型转换 如int('8') str(123) bool(123)
整数(int) 8
浮点数(float) 8.8
字符串(str) "中国"
布尔(bool) true,false
判刑类型 type 如:type(8) bool type(True)
类型转换 如int('8') str(123) bool(123)