Regular polygon by Defenestrator

from math import*
n=input()
for i in range(n):a=pi*2*i/n;print int(round(cos(a)*1e3)),int(round(sin(a)*1e3))

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

download

return top