Computer Science, asked by nishitdhiman10, 7 months ago

What is the difference between a tuple and a list? (5 marks)

Answers

Answered by gupukaur1503
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 Anonymous
11

Answer:

hola....

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

follow \: me

Similar questions