CBSE Class 11 Informatics Practices
Question 37 of 80
Lists in Python — Question 15
Back to all questions[1,2,3,4,1,2,3,4]
Reason — The code initializes two lists, L1 with elements [1, 2] and L2 with elements [3, 4]. It then concatenates these two lists using the + operator, resulting in [1, 2, 3, 4]. Next, it multiplies this concatenated list by 2 using the * operator, which repeats the elements of the list. Therefore, the final output of (L1 + L2) * 2 is [1, 2, 3, 4, 1, 2, 3, 4].