[ create a new paste ] login | about

Link: http://codepad.org/prVIhors    [ raw code | output | 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*ii+1) :
        print("%s,%s,%s" % (i, i+1, i))


Output:
1
2
3
4
Traceback (most recent call last):
  Line 4, in <module>
    if (math.sqrt((i * i+1)) == i*ii+1) :
NameError: name 'ii' is not defined


Create a new paste based on this one


Comments: