为什么我在 if elif else 中收到此错误
Why am I getting this error in if elif else
我又在做一个学校课程,当我在一个范围内输入 <= 时,例如。 >= 95 and <= 100 我被告知 <= 中的小于或 = 是语法错误。
since I can't type copy and paste the code without errors here this is the code in full so far
您需要表达式的两个路径中的变量:if var >= 96 and var <= 100:
我又在做一个学校课程,当我在一个范围内输入 <= 时,例如。 >= 95 and <= 100 我被告知 <= 中的小于或 = 是语法错误。
since I can't type copy and paste the code without errors here this is the code in full so far
您需要表达式的两个路径中的变量:if var >= 96 and var <= 100: