Tuples
- This means tuples are immutable: we cannot add or remove items from them
Create empty tuple syntax
tuple_variable = ( )
or
tuple_variable = tuple( )
Tuple syntax
tuple_variable = (‘Item1’ , ‘Item2’ , ‘Item3’ , etc.)
Get tuple length syntax
len(tuple_variable)
Tuples and indexing/slicing
Just like w/ lists:
tuple_variable[index]