QuestionQ7

Data Serialization

What is the distinction between a list and a tuple in Python?

Explanation

Python lists are mutable sequences and use square-bracket syntax, whereas tuples are immutable sequences and commonly use parentheses.

Community Discussion

No comments yet. Be the first to start the discussion!