刚开始学有许多东西还是不懂的,轻喷
我在学if的语法时跟着视频写了下面的一串代码
score = 77
if score >= 80 and score < 90:
print("本次考试等级为A")
elif score >= 70 and score < 80:
print("本次考试等级为B")
运行的时候却发现下面的运行界面时这样子的
秋秋了
刚开始学有许多东西还是不懂的,轻喷
我在学if的语法时跟着视频写了下面的一串代码
score = 77
if score >= 80 and score < 90:
print("本次考试等级为A")
elif score >= 70 and score < 80:
print("本次考试等级为B")
运行的时候却发现下面的运行界面时这样子的
秋秋了
score = 77
if score >= 80 and score < 90:
print("本次考试等级为A")
elif score >= 70 and score < 80:
print("本次考试等级为B")
本次考试等级为B
运行没有问题, 执行错文件了吧