self win win now create the widgets self __createbuttons(self __createdisplay(def __createbuttons(self)create list of buttons start with all the standard sized buttons bspecs gives center coords and label of buttons bspecs [( , ,' ')( , ,')( , ,' ')( , ,' ')( , ,' ')( , ,'+')( , ,'-')( , ,' ')( , ,' ')( , ,' ')( , ,'*')( , ,'/')( , ,' ')( , ,' ')( , ,' ')( , ,'<-'),( , ,' ')self buttons [for (cx,cy,labelin bspecsself buttons append(button(self win,point(cx,cy) ,label)create the larger button self buttons append(button(self winpoint( , ) "=")activate all buttons for in self buttonsb activate(def __createdisplay(self)bg rectangle(point , )point( , )bg setfill('white'bg draw(self wintext text(point( , )""text draw(self wintext setface("courier"text setstyle("bold"text setsize( self display text def getbutton(self)waits for button to be clicked and returns the label of the button that was clicked while truep self win getmouse(for in self buttonsif clicked( )return getlabel(method exit