A Python script that calculates the ideal exercise heart rate of a person.
Python 3.x
Click the Code button, then click on "Download ZIP"
OR
Click the heart_rate.py file, then click on the Download Raw File button.
- Enter the person's age. It must be a positive integer. Then, press Enter.
- Enter the person's resting heart rate. It must be a positive integer. Then, press Enter.
- The ideal exercise heart rate will be displayed on screen.
- Finally, press Enter to exit the program.
MIT License © 2025 Antonis Paraskevis