Regular polygon by leonid

n=input()
a=0j
exec'z=2.7183**a*1e3;print"%.f %.f"%(z.real+.01,z.imag);a+=6.28314j/n;'*n

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

download

return to the top page