Compute average salary per department from employee records.
Constraints
Example
>>> average_salary_by_dept([("Alice", "Engineering", 90000), ("Bob", "Engineering", 110000), ("Carol", "HR", 70000)])
{'Engineering': 100000.0, 'HR': 70000.0}
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints