graphics command classes each of the command classes below hold information for one of the types of commands found in graphics file for each command there must be draw method that is given turtle and uses the turtle to draw the object by having draw method for each classwe can polymorphically call the right draw method when traversing sequence of these commands polymorphism occurs when the "rightdraw method gets called without having to know which graphics command it is being called on class gotocommandhere the constructor is defined with default values for width and color this means we can construct gotocommand objects as gotocommand( , )or gotocommand( , , )or gotocommand( , , ,"yellow"def __init__(self, , ,width= ,color="black")self self self color color self width width def draw(self,turtle)turtle width(self widthturtle pencolor(self colorturtle goto(self ,self class circlecommanddef __init__(self,radiuswidth= ,color="black")self radius radius self width width self color color def draw(self,turtle)turtle width(self widthturtle pencolor(self colorturtle circle(self radius class beginfillcommanddef __init__(self,color)self color color def draw(self,turtle)turtle fillcolor(self colorturtle begin_fill( class endfillcommanddef __init__(self)pass is statement placeholder and does nothing we have nothing to initialize in this class because all we want is the polymorphic behavior of the draw method pass def draw(self,turtle)turtle end_fill( class penupcommanddef __init__(self)pass def draw(self,turtle)turtle penup(this copy belongs to 'acha