%% [[Python]] [[PROGRAMMING FUNDAMENTALS]] [[Course 1.2 Programming fundamentals]] %% ## Definition "inmutable ordered collection of elements" Tuples are useful for storing fixed collections of items, such as coordinates or database records, where data integrity is important. #### What can you do with tuples? - Adding items to a string or tuple - Appending tuples to lists - Tuples can contain mutable objects (like lists) ## Particulars * When you output a tuple, Python always displays its contents in parentheses. * Parentheses are optional when creating a tuple. * A comma is required to create a tuple with one element only ## Examples