• 2022-06-27
    用户输入0-100之间的百分制成绩,将其转为五分制输出,下面正确的答案为:
    A: score = float(input()) degree = "EEEEEEDCBAA" score_five = degree[score / 10] print(score_five)
    B: score = float(input()) degree = "EEEEEEDCBAA" score_five = degree[score // 10] print(score_five)
    C: score = float(input()) degree = "EEEEEEDCBAA" score_five = degree[int(score // 10)] print(score_five)
    D: score = float(input()) degree = "EEEEEEDCBA" score_five = degree[int(score // 10)] print(score_five)