pls help. beginner question.

+1 Marco Alexis · August 17, 2015
I'm just starting to watch the tutorials and after every episode I tried each topic, but when I came in lists topic, it gives me error

>>> players[:3] = []
Traceback (most recent call last):
  File "<pyshell#9>", line 1, in <module>
    players[:3] = []
TypeError: 'tuple' object does not support item assignment

>>> players.append[11]
Traceback (most recent call last):
  File "<pyshell#6>", line 1, in <module>
AttributeError: 'tuple' object has no attribute 'append'

What have I done wrong?

Post a Reply


- page 2
Oldest  Newest  Rating
0 Halcyon Abraham Ramirez · August 18, 2015
@MarcoAlexis dang man. welcome to the world of python. I asked that because Im Filipino too and I knew somebody with a family name of Maghuyop In Bohol. Now if you happen to live in Bohol too. that would seriously blow my mind. oh and yeah. welcome to t the new boston 
0 Marco Alexis · August 19, 2015
Yes my father is from bohol and we always spend Christmas there.
Thanks mate. Im glad there are people willing to help whenever someone raises questions here. This is my first week learning python.
0 Halcyon Abraham Ramirez · August 19, 2015
That's pretty friggin mind blowing holy sh*t "he is from boho"l? so I assume that you guys  aren't living in bohol?

but still what are the odds man! do you know cebuano?

yeah there. there is too. that place is a goldmine of tech info. just be careful because they don't really take too well newbie questions. but here it's all fine we're all newbies.

what got you into python? 
  • 1
  • 2



This section is all about snakes! Just kidding.

Bucky Roberts Administrator