filmov
tv
Python tutorials - Tuple in Python

Показать описание
Python tutorials - Tuple in Python.
A tuple is an ordered sequence of elements of different
data types, such as integer, float, string, list or even a
tuple. Elements of a tuple are enclosed in parenthesis
(round brackets) and are separated by commas. Like list
and string, elements of a tuple can be accessed using
index values, starting from 0.
A tuple is an ordered sequence of elements of different
data types, such as integer, float, string, list or even a
tuple. Elements of a tuple are enclosed in parenthesis
(round brackets) and are separated by commas. Like list
and string, elements of a tuple can be accessed using
index values, starting from 0.