All Subjects
Light
A tuple is an immutable, ordered collection of elements in Python. Elements in a tuple can be of different data types.
congrats on reading the definition of tuple. now let's actually learn it.
List: An ordered collection of elements that is mutable and defined using square brackets, e.g., [1, 2, 'a'].
Immutable: An object whose state cannot be modified after it is created. Tuples are an example of immutable objects.
Indexing: The process of accessing individual elements within an ordered collection using their position number.