input: Write a function to calculate the total sum of all elements in a given list. If the list is empty, return 0.
  assert total_sum([1, 9, 3, 5])==18
  assert total_sum([])==0
output: def total_sum(lst):
      return sum(lst)