Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
One liner solution in Clear category for Second Index by martin_b
second_index = lambda t, s: ([i for i, c in enumerate(t) if c == s] + [None, None])[1]
Nov. 16, 2017
Comments: