Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Double loop solution in Clear category for The End of Other by bryukh
def checkio(words):
"""
You can iterate throught set.
"""
for w1 in words:
for w2 in words:
if w1 != w2 and (w1.endswith(w2) or w2.endswith(w1)):
return True
return False
Feb. 20, 2014
Comments: