Question: 1. Weight Gain(use a for-loop) If a person increases their calorie intake by 200 calories a day, they typically gain about 2 pounds a

 1. Weight Gain(use a for-loop) If a person increases their calorie intake 


1. Weight Gain(use a for-loop) If a person increases their calorie intake by 200 calories a day, they typically gain about 2 pounds a month. Write a program (WeightGain py) that lets the user enter their starting weight, then creates and displays a table showing what their expected weight will be at the end of each month for the next 6 months if they eat too much. Example: Here is how the program runs when the user enters 100 as their starting weight. Enter your weight (in lbs) 100 Your weight after month 1 is 102.0 lbs Your weight after month 2 is 104.0 lbs Your weight after month 3 is 106.0 lbs Your weight after month 4 is 108.0 lbs Your weight after month 5 is 110.0 lbs Your weight after month 6 is 112.0 lbs Submit WeightGain.py.

Step by Step Solution

3.41 Rating (145 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

WeightGainpy CAUsersHPAppDatelLocalProgramsPythonPython3832WeightGainpy 386 File ... View full answer

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 Accounting Questions!