Enter program input (optional) If your code requires input values, provide them here. ![]() Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box. 2.21 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 artic (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. 2.27 LAB: Expression for calories burnedduring 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.184 W. LAB: Warm up: Variables, input, and type conversion Enter float: 3.77 Enter character: Z Enter string: Howdy 99 3.77 z Howdy Howdy z 3.77 99 99 converted to a character is c 247772.1716882. 1 user_int = int(input('Enter Integer (32 - 126): \n')) 2 3 # FIXME (1): Finish reading other items into variables, then output the four values on a singl 4 5 # FIXME (2): Output the four values in reverse 6 7 # FIXME (3): Convert the integer to a characer, and output that character Run your program as often as you'd like, before Develop mode Submit mode submitting for grading. 2. Let me know if you have any doubts or if you need anything to change. LAB: Warm up: Variables, input, and type conversion Enter float: 3.77 Enter character: Z Enter string: Howdy 99 3.77 z Howdy Howdy z 3.77 99 99 converted to a character is c 247772.1716882 LAB ACTIVITY 1.23.1: LAB: Warm up: Variables, input, and type conversion 0/5 main.py Load default template.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |