摘要: 编辑默认模板: Seting—file and code templates—编辑 变量: 变量有不同的类型,分为整型int、浮点型flout、字符串型str、复数型complax。 Python里不需要预先定义变量的类型,根据赋值类型决定,但可以强制定义变量的类型,例如: int(变量名),str 阅读全文