Write a GUI program that displays your name and address when a button is clicked. The programs
Question:
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.
Transcribed Image Text:
Figure 13-42 Name and address program Show Info Quit Steven Marcus 274 Baily Drive Waynesville, NC 27999 Show Info Quit
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 100% (2 reviews)
import tkinter as tk class NameAndAddressGUI def initself selfmainwindow tkTk selfmainwindowtitleNam...View the full answer
Answered By
Parvesh Kumar
I am an experienced Mathematics and Statistics tutor with 10 years of experience teaching students and working professionals. I love teaching students who are passionate to learn subjects or wants to understand any mathematics and statistics concept at graduation or master’s level. I have worked with thousands of students in my teaching career. I have helped students deal with difficult topics and subjects like Calculus, Algebra, Discrete Mathematics, Complex analysis, Graph theory, Hypothesis testing, Probability, Statistical Inference and more. After learning from me, students have found Mathematics and Statistics not dull but a fun subject. I can handle almost all curriculum of mathematics. I did B.Sc (mathematics), M.Sc (mathematics), M.Tech (IT) and am also Gate (CS) qualified. I have worked in various college and school and also provided online tutoring to American and Canadian students. I look forward to discussing with you and make learning a meaningful and purposeful
5.00+
4+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
When n pairs of twins, with boys forming a line and girls forming another line, facing each other randomly, what is the probability that at least one pair of twins will be facing each other?
-
1. Write a GUI program that displays your name and address when a button is clicked. The program's window should appear as the sketch below. When the user clicks the Show Info button, the program...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Find the incarization of the function x) - Vx+ 4 at a-5 and use it to approximate the numbers 8.97 and y9.05. Are these approximations overestimates or underestimates? SOLUTION The derivative of fx)...
-
Consider an economy in which the consumption function takes the following simple algebraic form: C = 300 + 0.75DI and in which investment (I) is always $900 and net exports are always -$100....
-
You have a cylinder that contains 500 L of the gas mixture pressurized to 2000 psi (gauge pressure). A regulator sets the gas flow to deliver 8.2 L/min at atmospheric pressure. Assume that this flow...
-
Derive Equation 3.45. V12 = V12Vf+ VmVm (3.45)
-
Thomas Company reports the following direct labor information for one of its products for April: Standard rate. . . . . . . . . . . . . . . . . . . . . . . . . . . . . $21.00 per hour Actual rate...
-
Structures Limited is a foreign based business. It designs, makes and sells prefabricated building installations. To invest in the rapidly expanding South Pacific construction industry, it appoints...
-
Write a statement that creates a Label widget. Its parent should be self.main_ window, and its text shoud be 'Programming is fun!'
-
When a program runs in a text-based environment, such as a command line interface, what determines the order in which things happen?
-
Polling 2016 The 2016 U.S. presidential election was unusual in several ways. First, the candidate who won the most electoral votes, Donald Trump, did not win the most popular votes. Second, several...
-
Statutory legal age. a. abandonment b. age of majority c. contractual c apacity d. competent pa rty e. disaffi rmance f. emancipation g. incompetency h. minor i. necessaries j. ratifi cation
-
Indicate whether each of the following statements is true or false by writing T or F in the answer c olumn. There is little similarity between government and the operation of administrative a gencies.
-
The payoff matrices in Figure 2 at the top of the next column show the payoffs for two games. The payoffs are given in parentheses. The values on the left refer to the payoff to A; the values on the...
-
Indicate whether each of the following statements is true or false by writing T or F i n t he a nswer c olumn. The activities of the United Nations are limited to international law.
-
Answer the following questions, which require you to think critically about the legal principles that you learned in this chapter. Buckley, a worker in a restaurant, stole a credit card from the coat...
-
On July 17, 2016, Keith Urban borrowed $42,000 from his grandfather to open a clothing store. Starting July 17, 2017, Keith has to make 10 equal annual payments of $6,500 each to repay the loan. Use...
-
a. What is meant by the term tax haven? b. What are the desired characteristics for a country if it expects to be used as a tax haven? c. What are the advantages leading an MNE to use a tax haven...
-
If a class has this method, it is called automatically just before an instance of the class is destroyed by the Java Virtual Machine. a. Finalize b. Destroy c. Remove d. Housekeeper
-
For this assignment, you will design a set of classes that work together to simulate a cars fuel gauge and odometer. The classes you will design are the following: The FuelGauge Class : This class...
-
Assuming the following enum declaration exists: Enum Dog { POODLE, BOXER, TERRIER } What will the following statements display? a. System.out.println(Dog.POODLE + " " + Dog.BOXER + " " +...
-
Grove Media plans to acquire production equipment for $800,000 that will be depreciated for tax purposes as follows: year 1, $320,000; year 2, $180,000; and in each of years 3 through 5, $100,000 per...
-
Gas from a petroleum distillation column has its concentration of H2S reduced from 0.03 kmol H2S per kmol inert hydrocarbon gas to 1% of this value by scrubbing with triethanolamine water mixture in...
-
Maxwell is trying to motivate his employees using expectancy theory. He decides that he is going to directly tie rewards to performance by letting employees know that for every customer service...
Study smarter with the SolutionInn App