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