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

Questions & AnswersCategory: PythonThe following operations were performed: a = [1, 2, 3, 4, 5] b = a b[:] = [3, 6] 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[:] = [3, 6]

Select the correct answer.
a.

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

b.

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

c.

a = [3, 6]
b = [3, 6]

d.

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