OOP Workshop

Draw Shape Method

    def drawShape(self, x, y, aTurtle):
        aTurtle.goto(x,y)

drawShape method by default draws a line on the screen, which will also be overridden by the child classes of the Button class to draw different shapes.