Python基础回顾

Python shell输入import this 可以看到The Zen of Python 基本数据类型和运算 基本数据类型 Python中最基本的数据类型包括整型,浮点数,布尔值和字符串。类型是不需要声明的,比如: a = 1 # 整数 b = 1.2 # 浮点数 c = True # 布尔类型 d = "False" # 字符串 e = None # Non
相关文章
相关标签/搜索