Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
itertools.permutations solution in Creative category for The End of Other by LLluma
from itertools import permutations
def checkio(words_set):
return any(a.endswith(b) for a, b in permutations(words_set, 2))
#These "asserts" using only for self-checking and not necessary for auto-testing
April 22, 2014
Comments: