Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.22: LAB: Expression for calories burned during workout E Z 1.22 LAB: Expression for calories burned during workout The following equation estimates the average calories

image text in transcribed
1.22: LAB: Expression for calories burned during workout E Z 1.22 LAB: Expression for calories burned during workout The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal ar (source): Calories = ( (Age x 0.2757) + (Weight x 0.03295) + (Heart Rate x 1.0781) - 75.4991 ) x Time / 8.368 Write a program using inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively. Output th average calories burned for a person. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print( 'Calories: {:.2f} calories' . format(calories) ) Ex: If the input is: 49 155 148 60 then the output is: Calories: 736.21 calories 247772.2005456.qx3zay7 LAB 10/ 1.22.1: LAB: Expression for calories burned during workout ACTIVITY main.py Load default tem

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions