A simple program that analyzes age data from a CSV file.
- Counts the number of records
- Calculates the average age
- Finds the youngest age
- Finds the oldest age
- Python 3
Clone the repository:
git clone https://github.com/Ricky-Real/csv-analyzerGo into the project directory:
cd csv-analyzerRun the program:
python3 main.pyname,age,city
Peter,21,Bratislava
Martin,25,Kosice
Anna,19,Zilina
Lucia,32,Nitra
Tomas,28,Presov
Number of records: 5
Average age: 25.0
Youngest: 19
Oldest: 32
Ricky Real