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 melitaele
def goes_after(word: str, first: str, second: str) -> bool:
return first in word and second in word and word.index(second) == word.index(first) + 1
June 7, 2021