fig the draw program to construct gui you need to create window it is really very simple to do this using tkinter root tkinter tk(this creates an empty window on the screenbut of course does not put anything in it we need to place widgets in it so it looks like the window in fig (without the nice picture that denise drew for usthanks denise!we also need to create event handlers to handle events in the drawing application putting widgets in window is called layout laying out window relies on layout manager of some sort windowing toolkits support some kind of layout in tkinter you either packgridor place widgets within window when you pack widgets it' like packing suitcase and each widget is stacked either beside or below the previous widget packed in the gui packing widgets will give you the desired layout in most situationsbut at times grid may be useful for laying out window the place layout manager lets you place widgets at particular location within window we'll use the pack layout manager to layout our drawing application when packing widgetsto get the proper layoutsometimes you need to create frame widget frame widgets hold other widgets in fig two frame widgets have been created the drawingapplication frame is the size of the whole window and holds just two widgets that are placed side by side within itthe canvas and the sidebar frame canvas is widget on which turtle can draw the sidebar widget holds all the buttonsentry boxesand labels this copy belongs to 'acha