Pythagorean triple by hallvabo

for z in range(5e5):
 a,b=z/4950,z%4950;c=(a*a+b*b)**.5
 if a>c%1==0<b:print a,b,"%d"%c

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

download

return to the top page