# L-22.5 MCS 260 Wed 6 Aug 2014 : listcomp.py
"""
Use a list comprehension to compute the coordinates
of the points of a regular n-gon.
The points lie on a circle with radius one.
The list on return is a list of tuples with 
the x- and y-coordinates of the points.
"""

from math import cos, sin, pi

NRAW = raw_input('Give number of points : ')
NBR = int(NRAW)
PTS = [(cos(k*2*pi/NBR), sin(k*2*pi/NBR)) for k in range(NBR)]
print PTS
