Computer Science, asked by Anonymous, 5 months ago

what is use of tuple in python programming​

Answers

Answered by arnav47017
1

Answer:

☄️ Tuples are used to store multiple items in a single variable. Tuple is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Set, and Dictionary, all with different qualities and usage. A tuple is a collection which is ordered and unchangeable.

hope this much helps uh ❣️

Answered by Anonymous
1

Using a tuple instead of a list can give the programmer and the interpreter a hint that the data should not be changed.

Tuples are commonly used as the equivalent of a dictionary without keys to store data. ...

Reading data is simpler when tuples are stored inside a list.

Tuples are used to store multiple items in a single variable. Tuple is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Set, and Dictionary, all with different qualities and usage. A tuple is a collection which is ordered and unchangeable.

Similar questions