Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second: permutations solution in Clear category for The End of Other by leggewie
from itertools import permutations as p
def checkio(words_set):
for word1, word2 in p(words_set,r=2):
if word1.endswith(word2):
return True
return False
June 4, 2021