Post

@PythonPr Answer: (a)
In Python, the + operator, when used with lists, performs list concatenation. This means it combines the elements of the two lists into a single, new list, in the order they appear. The elements of list y are appended to the end of list x.
English

@PythonPr A is correct answer
Beacuse list doesn't add to each other they just concatenate.
English

@PythonPr A.[1,2,3,4,5]. The + on the lists doesn’t add numbers, it concatenates it.
English

@PythonPr Answer is:
The elements of x are appended to the elements of y. result is [1, 2, 3, 4, 5]
For More Reference =>>

English

@PythonPr A
Lists are mutable. So [4,5] concatenates [1,2,3] resulting [1,2,3,4,5]. Similar to append()
English

@PythonPr My c++ brain is screaming compiler error right now 😖
English

















