Computer Networking: A Top-Down Approach (7th Edition)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question

how do i get the calories to bet the only thing in the output

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
expand button
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
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))
expand button
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
Check Mark
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY