I understand code, better than comments:
# if we have a match, then set lowest to index if lowest is not set or if index is lower than lowest
if index != -1 and (not lowest or index < lowest):
lowest = index
I understand code, better than comments:
# if we have a match, then set lowest to index if lowest is not set or if index is lower than lowest
if index != -1 and (not lowest or index < lowest):
lowest = index