How are Tuples different from Lists when both are sequences?
Answers
Answered by
4
Answer:
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.
Similar questions