input: Write a python function to find the minimum and maximum values in a list.
  assert getMinMax([2, 35, 12, 4, 88]) == (2, 88)
  assert getMinMax([10, 20, 5, 40, 50]) == (5, 50)
  assert getMinMax([1, 1, 1, 1, 1]) == (1, 1)
  assert getMinMax([-10, -20, 0, 10, 20]) == (-20, 20)
output: def getMinMax(lst):
      if not lst:
          return (None, None)
      min_val = min(lst)
      max_val = max(lst)
      return (min_val, max_val)