Tuples
Tuples
Lists are mutable:
Tuples are immutable:
Accessing the elements within a tuple is the same as for a list
You can use slicing the same way as with lists
You can change the items of a list within a tuple:
Last updated