so i know how to add the numbers in a list recursively
def ListSum(list):
if list = []:
return 0
else:
return list[0] + ListSum(list[1:])
but how would i go about subtracting a list from a list using recursion? does anyone know how/ where i could go to learn how to do so
thanks in advance