Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner solution in Creative category for Second Index by Stensen
second_index = lambda t, s: t.index(s, t.index(s)+len(s)) if t.count(s)>1 else None
Sept. 20, 2020