Tuples

Learn about the tuple object in Python.

Definition

A tuple consists of two or more values separated by commas and enclosed in parentheses, for example, ("John", 23).

Get hands-on with 1200+ tech skills courses.