Python
本帖最后由 Violet01 于 2022-3-16 12:00 编辑懂了 point = point
if point == "e":
break
else:
point = int(point) point = input("请输入你的分数:")
while point != 'e':
point = int(point)
print( "D" if point <60 else
"C" if 60 <= point < 80 else
"B" if 80 <= point < 90 else
"A" if 90 <= point < 100 else
"S" if point == 100 else
"请输入0——100")
point = input("请输入你的分数:")
页:
[1]