[ create a new paste ] login | about

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

Python, pasted on Aug 21:
1
2
3
4
5
6
7
8
9
10
11
for i in range(1, 100):
    A = i
    for j in range(1, 100):
        B = j
        for l in range(1, 100):
            X = l
            if (A*X == B*X and A != B):
                print(" A:" + str(A) + " B:" + str(B) + " X:" + str(X))


print ("finished")


Output:
1
finished


Create a new paste based on this one


Comments: