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[1] = 800 print(aTuple)
Explanation:
A tuple is immutable. Once a tuple is created, you cannot change its values. If you try to change its value, you will receive a TypeError: 'tuple' object does not support item assignment
TypeError: 'tuple' object does not support item assignment
Related Topic:
Share Above MCQ
Learn More MCQ Questions from Python Programming Language MCQ Python Tuple MCQ