Identify the correct output of the following Python code : L=[3,3,2,2,1,1]…
PYQ KVS TGT/PGT 2023
Identify the correct output of the following Python code :
L=[3,3,2,2,1,1]
L.append(L.pop(L.pop()))
print(L)- A.
[3, 2, 2, 1, 3]
- B.
[3, 3, 2, 2, 3]
- C.
[1, 3, 2, 2, 1]
- D.
[1, 1, 2, 2, 3, 3]
Attempted by 1772 students.
Sign up free to check your answer
Sign up freeLoading lesson…

