Question: Follow the steps and completes using google collab ONLY. (3) Write a function that provides a user with a target heart rate range. The inputs

Follow the steps and completes using google collab ONLY.
Follow the steps and completes using google collab ONLY. (3) Write a

(3) Write a function that provides a user with a target heart rate range. The inputs into the function are: - The age of the individual - The desired heart rate zone, which should be one of 1,2,3,4,5 The heart rate zones are: - Zone 1: 50-59\% of max heart rate - Zone 2: 60-69\% of max heart rate - Zone 3: 7079% of max heart rate - Zone 4: 80-89\% of max heart rate - Zone 5: 90-100\% of max heart rate For a user whose age is 43 and who wishes to exercise in zone 2, the function should output the following statement: Your target heart rate range is from 107 to 124

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!