47.2k views
1 vote
10.7 LAB: Fat-burning heart rate Write a program that calculates an adult's fat-burning heart rate, which is 70% of 220 minus the person's age. Complete fat_burning_heart_rate() to

User Ragunathan
by
4.1k points

1 Answer

4 votes

Answer:

I've written in python

Step-by-step explanation:

age = int(input("Enter the person's age: ")

def fat_burning_heart_rate(x):

rate =( 70/100 * 220 ) - age

print(fat_burning_heart_rate(age))

User Graeme Rocher
by
4.9k points