一、基本数据类型
整形(int)
浮点数(float)
字符串(str)
布尔值(bool)——True False
判断类型:type(***)
类型转化:int('8') str(123) bool(123)
二、变量
变量赋值
变量命名
命名规范
英文版 https://www.python.org/dev/peps/pep-0008/
中文版 https://python.freelycode.com/contribution/detail/47
一、基本数据类型
整形(int)
浮点数(float)
字符串(str)
布尔值(bool)——True False
判断类型:type(***)
类型转化:int('8') str(123) bool(123)
二、变量
变量赋值
变量命名
命名规范
英文版 https://www.python.org/dev/peps/pep-0008/
中文版 https://python.freelycode.com/contribution/detail/47
转载于:https://www.cnblogs.com/wcsan/p/9125974.html