Python exercise

Squared error distortion

Sign in to hand in your solution and get feedback.