Computer Science

Discuss the utility and significance of tuples, briefly.

Python Tuples

15 Likes

Answer

Tuples are used to store multiple items in a single variable. It is a collection which is ordered and immutable i.e., the elements of the tuple can't be changed in place. Tuples are useful when values to be stored are constant and need to be accessed quickly.

Answered By

11 Likes


Related Questions