fork download
  1. # your code goes here
  2. a = ()
  3. a.append("a")
  4. print(a)
Runtime error #stdin #stdout #stderr 0s 23296KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 3, in <module>
AttributeError: 'tuple' object has no attribute 'append'