An open API service indexing awesome lists of open source software.

https://github.com/antonisparaskevis/triathlon

A Python script that calculates how much weight (in pounds) a person loses during a triathlon.
https://github.com/antonisparaskevis/triathlon

calculations python python-3 python-script python-scripting python-scripts python3 pythoncode pythoncoding pythonpractice pythonprogram pythonprogramming pythonprograms pythonproject pythonprojects pythonprojectsforbeginner pythonscript pythonscripting pythonscripts script

Last synced: about 1 month ago
JSON representation

A Python script that calculates how much weight (in pounds) a person loses during a triathlon.

Awesome Lists containing this project

README

          

# triathlon
A Python script that calculates how much weight (in pounds) a person loses during a triathlon.

# Requirements
Python 3.x

# Download
Click the Code button, then click on "Download ZIP"

OR

Click the triathlon.py file, then click on the Download Raw File button.

# How to Use
1. Enter the number of hours spent running. It must be a positive number, either integer or decimal. Then, press Enter.
2. Enter the number of hours spent swimming. It must be a positive number, either integer or decimal. Then, press Enter.
3. Enter the number of hours spent biking. It must be a positive number, either integer or decimal. Then, press Enter.
4. The weight loss will be displayed on screen.
5. Finally, press Enter to exit the program.

# License
MIT License © 2025 Antonis Paraskevis