def dif(x, y, afrund = None):
    """
    Calculate the difference between two arrays
    """
    result = []

    if afrund == None:
        afrund = 2

    for index, element in enumerate(x):
        result.append(round((element - y[index]), afrund))

    return result