input: Write a python function to find the maximum and minimum elements in a list and return them as a tuple.
  assert max_min([23, 12, 56, 72, 9, 10]) == (72, 9)
  assert max_min([5, 3, 8, 6, 2, 7]) == (8, 2)
  assert max_min([15, 22, 3, 9, 14, 27]) == (27, 3)
output: def max_min(lst):
      return (max(lst), min(lst))