Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
second solution in Clear category for Second Index by kazuki.h
def second_index(text: str, symbol: str) -> [int, None]:
n = text.find(symbol, text.find(symbol) + 1)
return n if n != -1 else None
April 3, 2021
Comments: