Skip to main content

Accepted Answer · #8 · 2026-04-12

Which answer is correct?

Difficulty 3/3

How to play

Read the Stack Overflow–style question, then pick the one correct answer from four plausible options. Watch out — wrong answers often have high fake votes.

How to flatten a nested list in Python?

I have `[[1, 2], [3, 4], [5, 6]]` and want `[1, 2, 3, 4, 5, 6]`. What's the best approach?

pythonlistsflatten

Loading your progress...

Press 1 through 4, or tap a numbered choice, to answer. Back to hub