Problem Statement

Write a Python script that reads `employees.csv` (columns: id, name, department, salary) and prints: total records, number of unique departments, and average salary.

Sample Data

employees.csv
id,name,department,salary
1,Alice,Engineering,90000
2,Bob,Marketing,70000
3,Carol,Engineering,95000
4,Dave,HR,65000

Expected Output

Total records: 4
Unique departments: 3
Average salary: 80000.0

Your Submission

ℹ️ The AI reads and reviews your code — it does not run it. Runtime errors like missing files or wrong paths won't affect your score. Focus on writing clean, correct logic.
Submit your work — choose one or more options
OR
OR