input: Write a python function to calculate the product of all numbers in a list and another function to calculate the total sum of all numbers in a list.
  assert prod_all([1, 2, 3, 4]) == 24
  assert prod_all([2, 5, 7]) == 70
  assert total_sum([1, 2, 3, 4]) == 10
  assert total_sum([2, 5, 7]) == 14
output: def prod_all(lst):
      product = 1
      for num in lst:
          product *= num
      return product
  
  def total_sum(lst):
      return sum(lst)