括号不匹配。input一行只有一个右回括号。
p = 100 a = 90 b = 80 c = 60 d = 40 e = 0 score = int(input('what is your score?')) if score > p: print('error!') elif score >= a: print('A') elif score >= b: print('B') elif score >= c: print('C') elif score >= d: print('D') elif score >= e: print('E'
) else: print('error!')