第二章 基础语法

一、基本数据类型

整形(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

posted @ 2018-06-02 17:17  开拉芒果拖拉机的拉不动司机  阅读(80)  评论(1)    收藏  举报