# Importing tkinter modulefromtkinterimport*# from tkinter.ttk import *# creating Tk windowmaster=Tk()# creating a Fra, e which can expand according# to the size of the windowpane=Frame(master)pane.pack(fill=BOTH,expand=True)# button widgets which can also expand and fill# in the parent widget entirely# Button 1b1=Button(pane,text="Click me !",background="red",fg="white")b1.pack(side=TOP,expand=True,fill=BOTH)# Button 2b2=Button(pane,text="Click me too",background="blue",fg="white")b2.pack(side=TOP,expand=True,fill=BOTH)# Button 3b3=Button(pane,text="I'm also button",background="green",fg="white")b3.pack(side=TOP,expand=True,fill=BOTH)# Execute Tkintermaster.mainloop()