Code Correction: The following code is supposed to filter a…

Code Correction: The following code is supposed to filter a NumPy array to keep only values greater than 50, then calculate the mean of those values. It has errors. Identify and fix ALL the errors. import numpy as np scores = np.array() high_scores = scores average = np.average(high_scores) print(f”Average of high scores: {average}”) Write the corrected code below: