You learned the read-process-write pipeline that underlies most file processing.
Single-pass statistics are efficient. You don't need to read the file twice to find min, max, and average. Track everything incrementally as you read.
Output formatting matters for reports. Fixed-width columns, consistent decimal places, and clear labels make reports readable.