Regular polygon by clock

from math import*
n=input();d=0
exec'print"%.f %.f"%(1e3*cos(d)+.01,1e3*sin(d));d+=6.28318/n;'*n

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

download

return to the top page