0
What is the output of the following Python code?
a, *b, c = [1, 2, 3, 4, 5]
print(a, b, c)- A1 [2, 3, 4] 5
- B1 2 5
- C1 [2, 3] 4
- DValueError: too many values to unpack
Correct answer: A
What is the output of the following Python code?
a, *b, c = [1, 2, 3, 4, 5]
print(a, b, c)