(20 points)
Write a Python program that uses a class
called GUI to implement the GUI illustrated
in Figure 2. When the quit
button is pressed the program should terminate, and
when the print button is pressed the program
should print Hello World.
The instantiation of the GUI class
is illustrated below; all you have to do is import
the things that you need and write the class.
You will most likely have to use grid for
this program.
if __name__ == "__main__":
root = Tk()
gui = GUI(root)
root.mainloop()