[ create a new paste ] login | about

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

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

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


Output:
1
2
3
4
  Line 4
    int x = i
        ^
SyntaxError: invalid syntax


Create a new paste based on this one


Comments: