Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you please show how I would write the program out? thanks! please so all work The number of calories burned per hour by cycling,
Can you please show how I would write the program out? thanks! please so all work
The number of calories burned per hour by cycling, running, walking, and swimming are 200, 475, 175, and 275, respectively. A person loses 1 pound of weight for each 3, 600 calories burned. Write a program to request the number of hours spent at each activity and then display the number of pounds worked off. Expected Sample Output: >>> runfile('/Users/onsayse/CSE201_F16/HOMEWORK/Homework3/problem3.py', wdir=, /Users/onsayse/CSE201_F16/HOMEWORK/Homework3') Enter number of hours cycling: 2 Enter number of hours running: 3 Enter number of hours swimming: 1 Weight loss: 0.6 pounds >>>
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