A hard Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- hard
Problem
Given a list of [key, value] pairs, return a dict mapping each key to the average of its values.
Summary
Same group, different values. What is typical?
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.