Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Second Index by Tinus_Trotyl
def second_index(text: str, symbol: str):
return text.index(symbol, text.index(symbol) + 1) if text.count(symbol) >= 2 else None
Oct. 16, 2021
Comments: