gui programming ii the problem is with column there are two widgets therethe button and the ok buttonand tkinter will make that column big enough to handle the larger widgetthe ok button one solution to this problem is shown belowok_button grid(row= column= columnspan= another solution to this problem is to use what is called frame the frame' job is to hold other widgets and essentially combine them into one large widget in this casewe will create frame to group all of the letter buttons into one large widget the code is shown belowfrom tkinter import alphabet 'abcdefghijklmnopqrstuvwxyz root tk(button_frame frame(buttons [ ]* for in range( )buttons[ibutton(button_frametext=alphabet[ ]buttons[igrid(row= column=iok_button button(text'ok 'font='verdana ' )button_frame grid(row= column= ok_button grid(row= column= mainloop(to create framewe use frame(and give it name thenfor any widgets we want include in the framewe include the name of the frame as the first argument in the widget' declaration we still have to grid the widgetsbut now the rows and columns will be relative to the frame finallywe have to grid the frame itself colors tkinter defines many common color nameslike 'yellowand 'redit also provides way to get access to millions of more colors we first have to understand how colors are displayed on the screen each color is broken into three components-- reda greenand blue component each component can have value from to with being the full amount of that color equal parts of red and green create shades of yellowequal parts of red and blue create shades of purpleand equal