User input to draw shapes using Turtle
<p>This is supposed to be a menu-driven program with user input. I know very little about <code>turtle</code>. I do know how to have the shapes drawn, but the info that I have is not given as input by the user. It's just me saying how each shape would be drawn.</p>

<p>I am supposed to import a module and have a menu with 4 choices:</p>

<ol>
<li>Draw a circle. </li>
<li>Draw a rectangle. </li>
<li>Draw star.</li>
<li>Quit.</li>
</ol>

<p>I don't know how to create or import the module, I don't know how to add the user input, and I don't know how to create the menu... </p>

<p>So far all I have is the code pasted below. Is it completely wrong or does it just need adjustments to fit the above criteria? </p>

<pre><code>import turtle 

smart = turtle.Turtle()

for i in range(4):
    smart.forward(50)
    smart.right(90)

turtle.done()


## draw a polygon with turtle




import turtle 

polygon = turtle.Turtle()

num_sides = 6
side_length = 70
angle = 360.0 / num_sides 

for i in range(num_sides):
    polygon.forward(side_length)
    polygon.right(angle)

turtle.done()



### random shape .... star



import turtle 

star = turtle.Turtle()

for i in range(50):
    star.forward(50)
    star.right(144)

turtle.done()
</code></pre>