Answered step by step
Verified Expert Solution
Link Copied!

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 1-2
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 future_value.py file that should be in this folder: murach/python/book_apps/ch01
Press F5 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 "y" if you want to do another calculation or "n" to exit the program. Then, close the IDLE window for the source code.
Run the GUI version of the Future Value program
4. Open the future_value_gui.py file that should be in the same folder as the future_value.py file.
5. 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.
6. 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 4
7. Open the guess_the_number.py file that's in this folder: murach/python/book_apps/ch04
8. 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 4.
9. Close the window for the source code.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions