title: Using class to draw shapes in turtle
body: <p>I am supposed to develop classes for line segments, circles, and rectangles in which each shape should contain a Turtle object and color to allow it to be drawn in a Turtle graphics window. I will have one main Shape class in which the circle, rectangle, and line classes are subclasses of it. What i have so far is </p>
  
  <pre><code>class Shape(object):
  """Represents a Shape"""
  
  def __init__(self, width, height):
     self._width = width
     self._height = height
  
  def rectangle(self):
  </code></pre>
  
  <p>What i want to achieve is the user inputs a number for width and height, and based on that, turtle will draw a rectangle using those. Then other shapes will also be drawn using those number for scale. So for example if i input </p>
  
  <pre><code>Shape (100, 150)
  </code></pre>
  
  <p>then a rectangle with a width of 100 and height of 150 will be drawn and perhaps a circle with radius of 1/2 the height will be drawn.</p>
  
  <p>I am stumped at this point though. I can't seem to figure out what to do next to have turtle actually draw the rectangle. Thanks for any help.</p>