a= int(input("Your age:21"))
r= int(input("Your resting heart rate:68"))
Training_Heart_Rate = (0.7 * (220 - a) + 0.3 * r)
print(f"Your training heart rate is {Training_Heart_Rate} bpm")
Im doing class work and im very new to python. here a example of what it should put out
Enter your age: 20
Enter your resting heart rate: 70
Training heart rate: 161 beats/min.
what happening is only giving me the age
"Your age:21"