Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First 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)
if n == -1:
return None
else: return n
April 3, 2021