Learn Python - Tuples

Опубликовано: 21 November 2026
на канале: Mohamed Chiny
10,405
213

In Python, a tuple is a sequence (or iterable). A tuple is essentially a list, but one that cannot be modified. The elements of a tuple can be enclosed in parentheses or not, and must be separated by commas. Tuples also support methods for accessing lists, but methods that modify a list are not supported on tuples because they are immutable.