Carefully analyse the Python program given below and answer the following…
PYQ EMRS TGT/PGT (ESSE) 2025
Carefully analyse the Python program given below and answer the following questions that follow based on the program execution and output.
L1 = [1, 2, 3] # Line 01
L2 = L1 # Line 02
L3 = L1.copy() # Line 03
print(L2.pop(2)) # Line 04
L1.insert(1, 0) # Line 05
L3.extend(L2) # Line 06
L4 = L3.reverse() # Line 07
print(L2) # Line 08
print(L3) # Line 09
print(L4) # Line 10(A) Write the output of the print statement in Line 04.
(B) Write the output of the print statement in Line 08.
(C) Write the output of the print statement in Line 09.
(D) Write the output of the print statement in Line 10.
Attempted by 55 students.
Sign up free to check your answer
Sign up freeLoading lesson…

