list lowest and highest index of an item code example
Example: python index of lowest value in list
if isMinLevel:
return values.index(min(values))
else:
return values.index(max(values))
if isMinLevel:
return values.index(min(values))
else:
return values.index(max(values))