Difference between list and tuple
Answers
Answered by
4
Answer:
The Key Difference between a List and a Tuple. The main difference between lists and a tuples is the fact that lists are mutable whereas tuples are immutable.
FOLLOW ME
Answered by
9
Hello !
List and Tuple in Python are the class of data structure. The list is dynamic, whereas tuple has static characteristics. ... Tuple is also a sequence data type that can contain elements of different data types, but these are immutable in nature. In other words, a tuple is a collection of Python objects separated by commas.
Hope it helps :)
Similar questions
English,
6 months ago
Accountancy,
6 months ago
Math,
11 months ago
English,
11 months ago
History,
1 year ago
Math,
1 year ago
Computer Science,
1 year ago