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

https://github.com/ibrahimdur1989/comp2152-assignment1-workout-stats

Python basics exercise: lists, dictionaries, and loops to summarize friends’ workout minutes (COMP2152 – Assignment 1).
https://github.com/ibrahimdur1989/comp2152-assignment1-workout-stats

beginners cli comp2152-assignment data-structures dictionaries exercise jupyter-notebook lists loops practice-project python

Last synced: about 2 months ago
JSON representation

Python basics exercise: lists, dictionaries, and loops to summarize friends’ workout minutes (COMP2152 – Assignment 1).

Awesome Lists containing this project

README

          

# COMP2152 – Assignment 1: Workout Stats

A small Python exercise that demonstrates **lists**, **dictionaries**, and **loops** to summarize friends’ workout minutes.

## Features
- Calculates total minutes for each friend
- Reports the friend with the **highest** and **lowest** totals
- Lets you look up minutes by a friend’s name
- Simple, dependency-free script (standard Python only)

## Requirements
- Python 3.10+ (no external packages required)

## Run
```bash
python workout_stats.py
```

## Sample Output
```
Enter a friend's name: Jamie
Jamie's workout minutes: (35, 40, 25)
Friend with highest total workout minutes: Taylor
Friend with lowest total workout minutes: Alex
```

## Notes

The script is self-contained and uses only built-in Python features.
You can open the notebook with Jupyter if you prefer an interactive version.

## License

MIT