
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
how do i get the calories to bet the only thing in the output

Transcribed Image Text:Home
1-2 Discussion: Introductioi X
zy Section 1.22 - IT 140: Introc X
C This ZyLab Activity Prepare ×
C 2.31 LAB: Expression For C X
Answered: Python The follo X
+
3.
learn.zybooks.com/zybook/SNHUIT140V3/chapter/1/section/22
Update :
M
Apps M Gmail
SNHU
Mail - Eddy, Matth...
zy zyBooks My library b My Questions | ba.
E Reading List
= zyBooks
My library > IT 140: Introduction to Scripting v3 home >
1.22: LAB: Expression for calories burned during workout
E zyBooks catalog
? Help/FAQ 8 Matthew Eddy
Run your program as often as you'd like, before submitting for grading. Below, type any needed
input values in the first box, then click Run program and observe the program's output in the
Develop mode
Submit mode
second box.
Enter program input (optional)
| 49
155
148
60
main.py
(Your program)
Run program
Input (from above)
Output (shown below)
Program output displayed here
Age : weight: Heart Rate: Time: Calories: 736.21 calories
Signature of your work
What is this?
6/28.. M--
T-
W-
-- |0-- R---
-- |0--|0-- |0-- ..7/1
Feedback?
V 1.23 LAB: Warm up: Variables, input, and type conversion

Transcribed Image Text:Home
1-2 Discussion: Introductioi X
zy Section 1.22 - IT 140: Introc X
C This ZyLab Activity Prepare ×
C 2.31 LAB: Expression For C X
Answered: Python The follo X
+
3.
learn.zybooks.com/zybook/SNHUIT140V3/chapter/1/section/22
Update :
M
Apps M Gmail
SNHU
Mail - Eddy, Matth...
zy zyBooks My library b My Questions | ba.
E Reading List
= zyBooks
My library > IT 140: Introduction to Scripting v3 home >
1.22: LAB: Expression for calories burned during workout
E zyBooks catalog
? Help/FAQ 8 Matthew Eddy
The following equation estimates the average calories burned for a person when exercising, which is based on a scientific journal article
(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 the
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.1999362.qx3zqy7
LAB
1.22.1: LAB: Expression for calories burned during workout
0/ 10
АCTIVITY
main.py
Load default template..
1 Age=int(input("Age : "))
2 Weight=int(input("weight: "))
3 Heart=int(input("Heart Rate: "))
4 Time=int(input("Time: "))
5 Calories
(CAge * 0.2757) + (Weight * 0.03295) + (Heart * 1.0781) - 75.4991 )* Time / 8.368
7 print('Calories: {:.2f} calories'.format(Calories))
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps

Knowledge Booster
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY