0
Are Tuples basically Lists that are unable to change?
2 Answers
+ 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!