input: Write a function to calculate the total sum of all elements in the given list.
  
  assert sum_of_elements([1, 9, 3, 5]) == 18
  assert sum_of_elements([0, 0, 0, 0]) == 0
  assert sum_of_elements([]) == 0
  assert sum_of_elements([-1, -2, -3, -4]) == -10
  assert sum_of_elements([10]) == 10
output: def sum_of_elements(lst):
      return sum(lst)