input: 
  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)
  
  # Example:
  # for get_max_min([3, 5, 2, 8, 1]) == (1, 8)
  
output:     return (min_value, max_value)