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
Environmental Sciences,
4 months ago
Science,
4 months ago
Social Sciences,
4 months ago
English,
7 months ago
Math,
1 year ago
Math,
1 year ago