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 Oleg_Domokeev
def goes_after(word: str, first: str, second: str) -> bool:
try:
return word.index(second)-word.index(first) == 1
except ValueError:
return False
March 16, 2020
Comments: