# Convert the following code to if-elif-else statements def get_grade(score): # original code # if score > 60: # if score >= 90: # print("A") # if score < 90 and score >= 70: # print("B") # if score < 70: # print("C") # else: # print("D") # one possible solution # if score > 60: # if score >= 90: # print("A") # elif score < 90 and score >= 70: # print("B") # elif score < 70: # print("C") # else: # print("D") # better solution # if score >= 90: # print("A") # elif 70 <= score < 90: # print("B") # elif 60 < score < 70: # print("C") # else: # print("D") # even better, solution we developed together in class if score >= 90: print("A") elif score >= 70: print("B") elif score > 60: print("C") else: print("D") get_grade(70) get_grade(60) get_grade(83)