0
Are Tuples basically Lists that are unable to change?
2 ответов
+ 13
The primary difference between a Tuple and a List is that Tuples are immutable, meaning you cannot change them, whereas Lists are immutable meaning you can change them. ... So all the things that you could do with the List in order to access elements will also work with a Tuple.
+ 7
You mentioned:
... whereas Lists are immutable meaning you can change them.
But should be:
... whereas Lists are mutable meaning you can change them.
Could you please change it? Thanks!