Sum, recursively
Write total(items) that returns the sum of a list of numbers, using
recursion: the total of a list is its first item plus the total of the
rest, and the total of an empty list is 0.
total([3, 5, 7]) -> 15
total([]) -> 0
The point is to practise recursion, so write it without a loop and without
sum.
def total(items):
...