Computer Science, asked by siyonaanna30, 3 months ago

When to use tuple or dictionary in Python. Give some examples of programming situations mentioning their usefulness.

Answers

Answered by bhavika2800gmailcom
0

Explanation:

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.

Tuples are written with round brackets.

PLEASE MARK ME AS BRILLIANT AND GIVE ME STARS

Similar questions