Traceback (most recent call last): File "./prog.py", line 2, in <module> AttributeError: 'tuple' object has no attribute 'append'