Q. What is the output of the following code?
Code:
x = (1, 2, 3) x[0] = 5
β
Correct Answer: (B)
Error
Explanation: Tuples are immutable, so their elements cannot be modified.