Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Words Order by StanislauL
def words_order(text: str, words: list) -> bool:
text = text.split(' ')
tmp = -1
for x in words:
if x in text and text.index(x)>tmp:
tmp = text.index(x)
continue
return False
return True
Aug. 24, 2020
Comments: