input: Write a python function to append the number 1 to a given list.
  assert updateList([1, 2, 3])==[1, 2, 3, 1]
  assert updateList([])==[1]
  assert updateList([5])==[5, 1]
output: def updateList(lst):
      lst.append(1)
      return lst