Regular polygon by nn

M=Math;n=Eval.me"$System.in";n.times{printf'%.0f %.0f\n',1e3*M.cos(t=2*M.PI*it/n)+0.01,1e3*M.sin(t)}

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

download

return to the top page