Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Goes Right After by thealfest1
def goes_after(word: str, first: str, second: str) -> bool:
index1 = word.find(first)
index2 = word.find(second)
return False if index1 < 0 else index2 - index1 == 1
March 12, 2020