What is the difference between a tuple and a list? (5 marks)
Answers
Answered by
1
Answer:
Mutable List vs Immutable Tuples. List has mutable nature i.e., list can be changed or modified after its creation according to needs whereas tuple has immutable nature i.e., tuple can't be changed or modified after its creation.
Answered by
11
Answer:
Here is your answer mate.......☺️
Explanation:
________________________________________
We can conclude that although both lists and tuples are data structures in Python, there are remarkable differences between the two, with the main difference being that lists are mutable while tuples are immutable. A list has a variable size while a tuple has a fixed size.
_________________________________________
Hope it helps you
Similar questions