python条件判断小程序

score = int(input("score:")

if score > 90:

  print("A")

elif score > 80:

  print("B")

elif score > 70:

  print("C")

else:

  print("Bad boy")

 

 

posted @ 2019-11-12 13:16  Iceberg_710815  阅读(236)  评论(0编辑  收藏  举报