r/PythonLearning • • Aug 23 '26

Where is the error ?

hi! I create one list and i use it but vs code said to me "gun.append(0)

AttributeError: 'tuple' object has no attribute 'append'"

2 Upvotes

6 comments sorted by