7
Question Question 7
What will be the output of following Python code?
tp1 = (15,11,17,16,12)
tp1.pop(12)
print(tp1)- (15,11,16,12)
- (15,11,17,16)
- (15,11,17,16,12)
- Error
Error
Reason — As tuples are immutable so they don't support pop operation.