How is a list type different from tuple
data type of Python ?
plz don't give answer from Google.
becoz agar google se nikalna hota toh hum hi na nikal lete.
Share
How is a list type different from tuple
data type of Python ?
plz don't give answer from Google.
becoz agar google se nikalna hota toh hum hi na nikal lete.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Conclusion. 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.