def sub(list1, list2):
    """
    Subtract a list from another item by item
    :param list1:
    :param list2:
    :return:
    """
    if len(list1) != len(list2):
        raise Exception("Listas de tamanho diferente")

    return [list1[i] - list2[i] for i in range(0, len(list1))]