1、分支语句 if score = 78 if score >= 90: print("优秀") if score < 60: print("还需努力") if (score >=60) and (score < 90): print("中等生,加油") if else s
1、运算符 1、算术运算符 // 运算符 print(100//11) # 结果9 2、比较运算符 3、逻辑运算符
1、数据类型 1、数字 a、整数类型 b、浮点数类型 c、复数类型 d、布尔类型 2、字符串 3、列表 4、元组 5、集合 6、字典 / 2、整数类型之间的转换 # 显示转换 xx = int(False) prin