Question: PYTHON 3 The following equations estimate the calories burned when exercising (source): Men: Calories = ( (Age x 0.2017) (Weight x 0.09036) + (Heart Rate
PYTHON 3
The following equations estimate the calories burned when exercising (source):
Men: Calories = ( (Age x 0.2017) (Weight x 0.09036) + (Heart Rate x 0.6309) 55.0969 ) x Time / 4.184 Women: Calories = ( (Age x 0.074) (Weight x 0.05741) + (Heart Rate x 0.4472) 20.4022 ) x Time / 4.184
Write a program (python expression) using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output calories burned for men and women.
Eg: If the input is:49 155 148 60, where 49 is Age, 155 is Weight, 148 is Heart Rate and 60 is Time. Then the output is: Men: 489.7772466539196 calories
Women: 580.939531548757 calories
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
