摘要: 1区别:编译型只需要翻译一次,后续就不用进行翻译,解释型每次运行之前都需要翻译 编译型:c go 解释型 python shell 2 交互式和脚本方式 3 # 我是单行注释 "我是多行注释" 4 bool True 和 False 5 变量名应该由字母数字下划线组成 不能使用关键字 第一个字符不能 阅读全文
posted @ 2020-07-09 22:14 刘海子 阅读(16) 评论(0) 推荐(0) 编辑
摘要: """ 语法: while 条件: 代码1 代码2 代码3 ... 基本使用1: print("start....") while>3: print("hello") print("hello") print("hello") print("end...") 基本使用2: count = 0 whi 阅读全文
posted @ 2020-07-09 17:32 刘海子 阅读(135) 评论(0) 推荐(0) 编辑