Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
List Comp solution in Clear category for Words Order by Ekaterina_Hostinetska
def words_order(text: str, words: list) -> bool:
check = [word for word in text.split() if word in words and words.count(word) == 1]
return check == words
Aug. 16, 2021
Comments: