A tuple is a sequence of immutable Python objects. Tuples are sequences,
just like lists. The only difference is that tuples can't be changed
i.e., tuples are immutable and tuples use parentheses and lists use
square brackets.
Source Code: example9.py |
Output: Python Shell |
No comments:
Post a Comment