- A TypeError
- B ('Today', 'nice', 'day')
- C SyntaxError
- D ('Today', 'not', 'nice', 'day')
- Share this MCQ
Answer:
A
Share this MCQ
TypeError
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) Input In [90], inClick me to Read more Question & Answer of Python Data Types() 1 x = ('Today', 'nice', 'day') ----> 2 x[1] = 'not' 3 print(x) TypeError: 'tuple' object does not support item assignment --------------------------------------------------------------------------- |
Share this MCQ