28 Aug  Admin

A tuple is an immutable sequence of Python objects. Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use parentheses (or round bracket), whereas lists use square brackets.

Example

atuple = (“rabbit”, “lion”, “cow”)
print(atuple)

 Output

(‘rabbit’, ‘lion’, ‘cow’)