A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Problem
Given a list of CSV-formatted strings where the first string is the header row (comma-separated), return a list of dicts - one per data row - mapping header names to values (all strings). Do not parse quoted fields; simple split on ','.
Summary
Comma-separated truths, one at a time.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.