A tuple is a sequence of immutable 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,
whereas lists use square brackets.
immutable Python objects: once created their value never changes.
No comments:
Post a Comment