Question: I need this done in Python 3.8 Objectives: To be able to read data from standard input To be able to write data to standard

I need this done in Python 3.8 I need this done in Python 3.8 Objectives: To be able to

Objectives: To be able to read data from standard input To be able to write data to standard output To understand simple programming problems and be able to write Python codes that solve them. Problem 1. The number of calories burned per hour by cycling, running, and swimming are 200,475 and 275 respectively. A person loses 1 pound of weight for each 3500 calories burned. Write a program to request the number of hours spent at each activity and then display the number of pounds worked off. Figures below shows possible outcome of the program. Enter number of hours cycling: 2 Enter number of hours running: 3 Enter number of hours swimming: 1 Weight loss: 0.6 pounds Figure (1) Enter future value: 10000 Enter interest rate (as 8): 4 Enter number of years: 6 Present value: $7,903.15 Figure (2) Problem 2. The present value off dollars at interest rater% compounded annually for n years is the amount of money that must be invested now in order to grow to f dollars (called the future value) in n years, where the interest rate is r% per year. The formula for present value is present value =- Calculate the present value of an investment after the user enters the future value, interest rate, and number of years. A possible outcome of the program is shown in Figure (2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!