From Paper 2: Application of computational thinking
1(a)4 marks
The program below should output 'Pass' if the average of three scores is 50 or more. It contains a syntax error and a logic error.
score1 = int(input("Score 1: "))score2 = int(input("Score 2: "))score3 = int(input("Score 3: "))average = score1 + score2 + score3 / 3if average >= 50 print("Pass")else: print("Fail")Identify and correct both errors.