The Roll Call
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L3
Problem
A CSV reader hands you the column names in `headers` and the table body in `rows`, where each row is a list of values positionally aligned to those headers. Return one dict per row that maps each column name to that row's value.
Summary
Every value is waiting for its name.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.