Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
2 solutions solution in Clear category for The End of Other by CDG.Axel
def checkio(words_set):
return any(any(map(a.endswith, words_set - {a})) for a in words_set)
# or this - it's look simplier
return any(a.endswith(b) for a in words_set for b in words_set - {a})
Feb. 12, 2022
Comments: