What is the distinction between a list and a tuple in Python?
Python lists are mutable sequences and use square-bracket syntax, whereas tuples are immutable sequences and commonly use parentheses.
Community Discussion