Loading...

Explode List

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

Domain
Python
Difficulty
easy

Problem

An API returns one level of nested lists that we need to flatten before processing. Flatten the outer list one level deep into a single list; do not recurse into deeper nesting.

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.