Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 1 - 2 Use IDLE to run programs This exercise guides you through the process of using IDLE to compile and run three programs:
Exercise
Use IDLE to run programs
This exercise guides you through the process of using IDLE to compile and run three programs:
Run the console version of the Future Value program
Start IDLE and open the futurevalue.py file that should be in this folder: murachpythonbookappsch
Press F to compile and run the program. Then, enter values for monthly investment, yearly interest rate, and years when you're prompted for them. This should display the future value that's calculated from your entries.
When you're asked if you want to continue, enter if you want to do another calculation or to exit the program. Then, close the IDLE window for the source code.
Run the GUI version of the Future Value program
Open the futurevaluegui.py file that should be in the same folder as the futurevalue.py file.
Select Run Run Module to compile and run the program. Then, enter values for the first three text boxes, and click the Calculate button to view the future value that's calculated from your entries.
If you want to do another calculation, enter new values and click the Calculate button. When you're through, click the Exit button to exit the program. Then, close the IDLE window for the source code.
Run the Guess the Number program of chapter
Open the guessthenumber.py file that's in this folder: murachpythonbookappsch
Compile and run the program. Then, guess the number. This demonstrates the type of program that you'll be able to write by the time you complete chapter
Close the window for the source code.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started