Waabi evaluates prediction accuracy by comparing predicted driving values with observed values. Given two sequences, calculate their root mean square error (RMSE).
RMSE is defined as:
RMSE = sqrt(sum((predicted[i] - actual[i])²) / n)
Implement rmse(predicted, actual) and return the result as a floating-point number.
predicted, a non-empty list of numbers, and actual, a non-empty list of numbers.n.def rmse(predicted, actual):