input: Write a function to classify values based on a threshold range.
  assert classify(5, [10, 20]) == 'low'
  assert classify(15, [10, 20]) == 'medium'
  assert classify(25, [10, 20]) == 'high'
  assert classify(10, [10, 20]) == 'medium'
  assert classify(20, [10, 20]) == 'high'
output: def classify(value, thresholds):
      if value < thresholds[0]:
          return 'low'
      elif thresholds[0] <= value < thresholds[1]:
          return 'medium'
      else:
          return 'high'