|Glossary navigation bar|
In mathematics, a tuple is a finite ordered list (sequence) of elements. In Python, a tuple is a sequence of immutable Python objects. Tuples are sequences similar to lists. Tuples use parentheses, cannot be changed (immutable), and can hold mixed data types. Lists use square brackets. Creating a tuple is as simple as making a list of comma-separated values.