input: Write a function to return both maximum and minimum values from a list.
  assert max_min([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) == (10, 1)
  assert max_min([10, 20, 45, 67, 84, 93]) == (93, 10)
  assert max_min([5, 7, 9, 8, 6, 4, 3]) == (9, 3)
output: def max_min(lst):
      return (max(lst), min(lst))