Feedback from user shustrik
Why results on your site and my eclipse are different?
Code is the same:
def checkio(words_set):
    RES = False
    for x in words_set:
        for y in words_set:
            if x == y :
                break
            else:
                res = y.endswith(x)
                if res == True:
                    RES = True
    
    return RES
L = ["hello","la","hellow","cow"]
L2 = ["hello","lo","he"]
print L2
print checkio(L2)
print L
print checkio(L)
<end of code>
But my eclipse return "True"
And your site return "False"
(check L2 = ["hello","lo","he"])
Thanks.
URL from: http://www.checkio.org/mission/end-of-other/solve/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0
Code is the same:
def checkio(words_set):
    RES = False
    for x in words_set:
        for y in words_set:
            if x == y :
                break
            else:
                res = y.endswith(x)
                if res == True:
                    RES = True
    
    return RES
L = ["hello","la","hellow","cow"]
L2 = ["hello","lo","he"]
print L2
print checkio(L2)
print L
print checkio(L)
<end of code>
But my eclipse return "True"
And your site return "False"
(check L2 = ["hello","lo","he"])
Thanks.
URL from: http://www.checkio.org/mission/end-of-other/solve/
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0