[ create a new paste ] login | about

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

Python, pasted on Feb 14:
1
2
3
4
5
import math  

for i in range(1, 50):
    if (math.sqrt((i * i+1)) == i*i+1) :
        print("%s,%s,%s" % (i, i+1, i))


Output:
No errors or program output.


Create a new paste based on this one


Comments: