Question: Write a GUI program that displays your name and address when a button is clicked. The programs window should appear as the sketch on the
Write a GUI program that displays your name and address when a button is clicked. The program’s window should appear as the sketch on the left side of Figure 13-42 when it runs. When the user clicks the Show Info button, the program should display your name and address, as shown in the sketch on the right of the figure.
Figure 13-42 Name and address program Show Info Quit Steven Marcus 274 Baily Drive Waynesville, NC 27999 Show Info Quit
Step by Step Solution
3.27 Rating (153 Votes )
There are 3 Steps involved in it
import tkinter as tk class NameAndAddressGUI def initself selfmainwindow tkTk selfmainwindowtitleNam... View full answer
Get step-by-step solutions from verified subject matter experts
