# read a score from the keyboard (see 5.2.1) grade = input("What is your grade? [A, B, C, D, or F]: ")[0] # check for passing grade if grade == 'A' or grade == 'B' or grade == 'C': print("You pass") else: print("You do not pass")