input: Write a python function to calculate the sum of elements in a list.
  assert sum([1, 2, 3, 4, 5]) == 15
  assert sum([10, -10, 20, -20]) == 0
  assert sum([5, 5, 5, 5, 5]) == 25
output: def sum(lst):
      return sum(lst)