1. while True:
    2. temp = int(input('猜猜我考了多少分:'))
    3. if temp == 100:
    4. print('满分')
    5. break
    6. elif temp <= 99 and temp > 79:
    7. print('优')
    8. elif temp <=79 and temp > 69:
    9. print('良')
    10. elif temp <=69 and temp > 60:
    11. print('一般')
    12. elif temp <= 59 and temp >49:
    13. print('差,不及格')
    14. else:
    15. print('完蛋了')
    16. print('程序结束')