Loading...
The Line Splitter
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- mid, senior
Problem
Write a function that takes a list of CSV-formatted strings where the first string is the header row. Return a list of dicts, one per data row, mapping header names to values. All values remain as strings.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.