if else 条件判断练习

"""输入成绩,判断等级""" score = int(input("请输入你的成绩:")) if score >= 90 : print("你的成绩是",score,",等级是:A") elif score >= 80 : print("你的成绩是",score,",等级是:B") elif sc
posted @ 2024-06-04 10:28  GDquicksand  阅读(1)  评论(0编辑  收藏  举报