DEV Community

Tommi k Vincent
Tommi k Vincent

Posted on

Tuples in Python.

Tuple is a sequence of immutable python Objects,Tuples cannot be changed unlike list Tuples use parenthese() while list uses square brackets[].
Enter the following to understand basics of a tuple.

vince  = ('chelsea','Barcelona','Manchester-United','Arsenal')

position  = (11,4,2,8,3)
Enter fullscreen mode Exit fullscreen mode

Top comments (0)