Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Second Index by yurimelnyk
def second_index(text: str, symbol: str) -> [int, None]:
index = text.find(symbol, text.find(symbol)+1)
return None if index == -1 else index
Feb. 6, 2019