Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Second Index by moyyerra
def second_index(text, symbol):
if text.count(symbol) < 2:
return None
else:
first = text.find(symbol, 0)
return text.find(symbol, first+1)
April 2, 2019
Comments: