How do you draw a star in Python, I am really confused over it now
This is the program I have so far
import helper
*helper checks if input is valid or not
import ecs10graphics07 as gr
* ecs10graphics07 is almost the same as the program Tkinter
import math
starPoints = raw_input ("Enter an odd integer:")
goodInput = helper.isFloat(starPoints)
if not goodInput:
print "Not a valid input."
raw_input ("Press enter to exit.")
winSize = 200
gr.begin_graphics(winSize,winSize,background = gr.Color.purple,title="me")
gr.set_Color(gr.Color.black)
gr.circle(x,y,radius,gr.Color.blue)
radius = 200
center = [250,250]
angle = 0
while angle < 2.0*math.pi:
x = center[0] + radius*math.cos(angle)
y = center[1] + radius*math.sin(angle)
point = [x,y]
print point
angle = angle + 25
else:
raw_input("Enter to exi")