Why is the append funtion not working in SublimeText

like the error message says? tuple has no append attribute

append is a list specific method/attribute.


so what corrections shuld i make to the code, sorry i am a beginner

i tried out the ‘insert’ command too and i watched vids too and followed them and it did not work too

It looks like you’re trying to use a list. Tuples in python are immutable (cannot be changed). This means your dissapointments variable would need to look like dissapointments = ["ex_1", "ex_2", "ex_n"]


@stetim94 @toastedpitabread thx guys it worked, guess i wasnt paying attention, thx for the help