Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second Index solution in Clear category for Second Index by Kain12345
def second_index(text: str, symbol: str) -> [int, None]:
if text.count(symbol) < 2:
return None
first = text.find(symbol)
second = text.find(symbol, first+1)
return second
Nov. 21, 2018
Comments: