In Python, a tuple is an immutable sequence type, meaning once it is created, its contents cannot be changed, added to, or removed—this is what distinguishes it from a list. Tuples are created using parentheses, such as my_tuple = (1, 2, 3), whereas square brackets [] are used to define lists, which are mutable.
Community Discussion