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 jwstructuraltec
def goes_after(word: str, first: str, second: str) -> bool:
try:
if word.index(second) - word.index(first) == 1:
return True
except:
None
return False
April 19, 2020