Loading...

Zip to Record

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy

Problem

During CSV ingestion we receive headers and values as separate lists and need to combine them into a row dict. Pair each key with its corresponding value by position and return the resulting dictionary.

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.