+ 5

Python - Lists

I was just answering some questions here and one of them said “List is a mutable object: True or False?” I answered true but this was incorrect. I’ve looked elsewhere and I’ve only found that lists are mutable. Is this something to do with the wording for the question or am I missing something? Edit: Seems that because it was asking if lists are objects that’s where I was wrong.

2nd Feb 2018, 9:46 AM
Toby Hagan
Toby Hagan - avatar
1 Resposta
+ 9
lists are in fact mutable objects if it was a quiz, please make sure to report it for incorrectness ^_^
2nd Feb 2018, 11:18 AM
Burey
Burey - avatar