# Tuples

Tuples are like lists, but immutable. Once an element has been assigned to a tuple, it cannot be changed.&#x20;

Tuples are defined by regular brackets.

<figure><img src="https://content.gitbook.com/content/waPIks0TDQHpI0Cy8Jml/blobs/5mLVlrtb1AnzPPjDq5R3/image.png" alt=""><figcaption></figcaption></figure>

There are some standard methods like count() and index().

<figure><img src="https://content.gitbook.com/content/waPIks0TDQHpI0Cy8Jml/blobs/nj8L0ftyzV5MD1w0bumk/image.png" alt=""><figcaption></figcaption></figure>

I do not use tuples much but if I need to ensure integrity of a data set, they are perfect. It will not be possible to accidently change one value.&#x20;

## Exercise&#x20;

Try changing a value in the tuple using its index and verify it is immutable.
