frm pack(padx= pady= gridbox(frmlabel(roottext='pack:'pack(frm frame(rootbd= relief=raisedfrm pack(padx= pady= packbox(frmbutton(roottext='quit'command=root quitpack(mainloop(when this runs we get composite window with two forms that look identical (figure - )but the two nested frames are actually controlled by completely different geometry managers figure - grid and pack in the same window on the other handthe sort of code in example - fails badlybecause it attempts to use pack and grid within the same parent--only one geometry manager can be used on any one parent example - pp \gui\tour\grid\grid -fails py ""fails-can' grid and pack in same parent container (hereroot window""grids