score = int(input("score:")
if score > 90:
print("A")
elif score > 80:
print("B")
elif score > 70:
print("C")
else:
print("Bad boy")
python条件判断小程序
原文:https://www.cnblogs.com/iceberg710815/p/11841227.html