import math


def rms_error(seq1, seq2):
    """Returns the RMS error between two lists of values"""
    assert len(seq1) == len(seq2)
    return math.sqrt(sum((x - y) ** 2 for x, y in zip(seq1, seq2)) / len(seq1))