Python

Tuple in Python

Tuple can store both homogeneous & heterogeneous data. Insertion order is preserve it means in which order we insert data same order output is print. Tuple allows duplicate objects. The tuple contains forward indexing & backward indexing. This is immutable modifications are not allow. Declared within the parenthesis ( ). Tuples are order sequences, each element has a specific order that will never change.