What is the output of the following Python code?
a = [1, 2, 3]
b = a
a = a + [4]
print(b, len(a))- A[1, 2, 3, 4] 4
- B[1, 2, 3] 3
- C[1, 2, 3] 4
- D[1, 2, 3, 4] 3
Correct answer: C
What is the output of the following Python code?
a = [1, 2, 3]
b = a
a = a + [4]
print(b, len(a))