Computer Science, asked by brainly9497, 6 months ago

What is the difference between tuple and list​

Answers

Answered by manishyadav16391
1

Answer:

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.

Explanation:

I hope it's helpful for you

Please follow me

Answered by bhoomi145
0

List

List is a container to contain different types of objects and is used to iterate objects.

Example

list = ['a', 'b', 'c', 'd', 'e']Tuples

Tuple is also similar to list but contains immutable objects. Tuple processing is faster than List.

Example

tuples = ('a', 'b', 'c', 'd', 'e')

Similar questions