python-1 基础


# 单行注释 快捷键 ctr+/

"""
第一行注释
第二行注释
第三行注释
"""

NameError:名称错误(变量未定义)
IndentationError:意外缩进

断点打在哪,debug时就在哪开始

type()返回数据类型

int
float
str
bool
list 列表
tuple 元组
dict 字典

猜你喜欢

转载自blog.csdn.net/fly_ship/article/details/108048613
今日推荐