0
>>>cast= ("1","2")
>>> cast.append("Gilliam")
Traceback (most recent call last):
  File "<pyshell#44>", line 1, in <module>
    cast.append("Gilliam")
AttributeError: 'tuple' object has no attribute 'append'

The the code is written in python 3.

0 Answers0