1. 运算符 1.1赋值运算符 = += -= *= /= //= %= **= 1.2比较运算符 < > = <= == != 1.3成员运算符 in not in 1.4逻辑运算符 and or not and 两个都为真取and前面的,两个都为假取and后面的 or 两个都为真取or后面的,两个都为假取or前面的 0 and 9 and 8 and 5 #0,有一假取假 4 or 0 or 9 or 8 #4,有一真取真 1.5算数运算符 + - / // ** % 2. whil…
1.判断下列逻辑语句的结果,一定要自己先分析 1)1 > 1 or 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 < 6 Ture print(1 > 1 or 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 < 6) 2)not 2 > 1 and 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 <…