The following operations were performed: a = [1, 2, 3, 4, 5] b = a[:] b.pop() Select the correct answer.

Questions & AnswersCategory: PythonThe following operations were performed: a = [1, 2, 3, 4, 5] b = a[:] b.pop() Select the correct answer.
Lokesh Kumar Staff asked 2 years ago

The following operations were performed:

a = [1, 2, 3, 4, 5]

b = a[:]

b.pop()

Select the correct answer.
a.

a = [1, 2, 3, 4]
b = [1, 2, 3, 4]

b. 

a = [1, 2, 3, 4]
b = [1, 2, 3, 4, 5]

 
c. 
a = [1, 2, 3, 4, 5]
b = [1, 2, 3, 4, 5]
 
d. 
a = [1, 2, 3, 4, 5]
b = [1, 2, 3, 4]