Computer Science, asked by vive3211, 11 months ago

What is the difference between a python tuple and python list?

Answers

Answered by anshritik1pd5i6k
0

Explanation:

Python tuples vs lists – Mutability. The major difference between tuples and lists is that a list is mutable, whereas a tuple is immutable. This means that a list can be changed, but a tuple cannot

Answered by XRajputX89
0

Answer:

Python Tuples -

Tutorialspoint A tuple is a sequence of immutable Python objects. Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use parentheses, whereas lists use square brackets.

python list

DigitalOcean A list is a data structure in Python that is a mutable, or changeable, ordered sequence of elements. Each element or value that is inside of a list is called an item. Just as strings are defined as characters between quotes, lists are defined by having values between square brackets [ ] .

Similar questions