[ create a new paste ] login | about

Link: http://codepad.org/GP8LVrnS    [ raw code | output | fork ]

Python, pasted on Dec 26:
1
2
3
4
5
6
7
8
9
l = []

for x in range(0, 50):
    for y in range(0, 50):
        if hash((x,y)) in l:
            print "Fail: ", (x,y)
        l.append(hash((x,y)))

print "Test Finished"


Output:
1
Test Finished


Create a new paste based on this one


Comments: