from pylab import * from cmath import * def polygone(n): for k in range(n): z=2*exp(1j*2*k*pi/n) plot(z.real,z.imag,"r.",markersize=12) show()