Question: Q# 1 : ( 5 points ) Write a Python program that asks the user to input their age and their resting heart rate (
Q#: points Write a Python program that asks the user to input their age and their resting heart rate in beats per minute The program should calculate the user's maximum heart rate using the formula: age. Then, it should determine the user's target heart rate range for moderateintensity exercise, which is to of the maximum heart rate. Display the user's maximum heart rate and target heart rate range. If the user's resting heart rate is within their target range, display "Your resting heart rate is within the target range for moderate exercise." Otherwise, display "Your resting heart rate is outside the target range for moderate exercise."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
