Women: Calories ((Age x 0.074) - (Weight x 0.05741) + (Heart Rate x. View 1.22.png from IT- 140 at Southern New Hampshire University. $ python run.py 49 155 148 60 Women: 580.94 calories Men: 891. 5.21 LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (source): Women: Calories ( (Age x 0.074) (Weight x 0.05741) + (Heart Rate x 0.4472) 20.4022 ) x Time / 4.184 Men: Calories ( (Age x 0.2017) + (Weight x 0.09036) + (Heart Rate x 0.6309) 55.0969 ) x Time / 4. 1: LAB: Expression for calories burned during workout main.py Load default template. Output calories burned for women and men Output each floating point value with two digits after the decimal point which can be achieved as follows: print("Men: calories'.format(men)) Expression for calories burned during workout The following equations estimate the calories burned when exercising (source) Women Calones = ((Age 0074) -(Weight 0.05741)+ (Heart Rate 圆4472) – 20.4022)x Time/4184 Mer Calories = ((Age x 0.2017) + (Weight X 0.09036) + (Heart Rate x0.6809) - 55.0969) x Time/4.184 Write a program using inputs age (years) Weight (pounds), heart rate (beats per minute), and time (minutes), respectively.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |