Prediction Error Magnitude Calculator — Coding problem | OneNoughtOne