Python Tuples and Tuple Methods

Python Tuples and Tuple Methods

5 years ago
Anonymous $dicfOfy7s2

https://hackernoon.com/python-basics-9-tuples-tuple-manipulation-and-the-fibonacci-sequence-2d0da4e2d326

Tuples are an ordered sequences of items, just like lists. The main difference between tuples and lists is that tuples cannot be changed (immutable) unlike lists which can (mutable).

There are two ways to initialize an empty tuple. You can initialize an empty tuple by having () with no values in them.