Problem Statement
Which of these joins two lists to make one new list?
Explanation
The plus operator creates a new list by combining two existing lists. It does not modify the originals but returns a fresh list containing all elements from both.
If you use the extend method instead, it adds items of the second list into the first list in place. append adds the entire list as a single element, which is different from concatenation.
Code Solution
SolutionRead Only
a=[1,2,3]; b=[4,5]; res=a+b
