input: 
  from typing import List, Tuple
  
  def get_max_min(lst: List[int]) -> Tuple[int, int]:
      """Get the maximum and minimum values in a given list.
      >>> get_max_min([1, 2, 3, 4, 5])
      (1, 5)
      >>> get_max_min([5, 3, 7, 1, 9])
      (1, 9)
      """
      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)
  
output:     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)