Pythagorean triple fixed by murky-satyr

for(a<-3 to 100;b<-3 to a*a;c=math.sqrt(a*a+b*b)if c%1==0)println(a+" "+b+" "+c.toInt)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page