input: Write a function to get the maximum and minimum values in a given list.
  def get_max_min(lst):
   min_value = lst[0]
   max_value = lst[0]
   
   for i in range(1, len(lst)):
    if lst[i] > max_value:
     max_value = lst[i]
    if lst[i] < min_value:
     min_value = lst[i]
   
   return (min_value, max_value)
  
  assert get_max_min([3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5]) == (1, 9)
  assert get_max_min([0, 0, 0, 0, 0]) == (0, 0)
  assert get_max_min([-1, -5, -3, -7, -2]) == (-7, -1)
  assert get_max_min([100]) == (100, 100)
  assert get_max_min([-10, 0, 5, -5, 10]) == (-10, 10)
output: def get_max_min(lst):
   min_value = lst[0]
   max_value = lst[0]
   
   for i in range(1, len(lst)):
    if lst[i] > max_value:
     max_value = lst[i]
    if lst[i] < min_value:
     min_value = lst[i]
   
   return (min_value, max_value)