Login and Register ×
Check your Email for the OTP
Python Programming Language MCQ Python Tuple MCQ
⚠ Report ✓ Question Verified Copy Link
aTuple = (100, 200, 300, 400, 500) aTuple.pop(2) print(aTuple)
Explanation:
A tuple is immutable. Once a tuple is created, you cannot remove its items, but you can delete the tuple completely. If you try to remove the item from the tuple, you will receive an AttributeError: 'tuple' object has no attribute 'pop'.
AttributeError: 'tuple' object has no attribute 'pop'
Related Topic:
Share Above MCQ
Learn More MCQ Questions from Python Programming Language MCQ Python Tuple MCQ