Regular polygon by atami

n=readline(i=0);for(m=Math,v=m.round;i<n;)print(v(m.cos(p=i++*m.PI*2/n)*1e3),v(m.sin(p)*1e3))

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

download

return to the top page