a=b=1 while a<101: b=b%5000+1;a+=b<2;c=(a*a+b*b)**.5 if c%1==0:print a,b,int(c)

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

download

return to the top page