Exam-style question
Try this first
What is the result of [2, 4] + [6] in Python?.
- A.[2, 4, 6]
- B.[6, 2, 4]
- C.[2, 4, [6]]
- D.6
Answer and explanation
Concise answer
[2, 4, 6]
Why this is correct
The + operator concatenates the two lists, so the item 6 is placed after the existing elements.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
