explain any three
functions of tuple
Answers
Answered by
6
- 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.
Answered by
7
tuple is a sequence of immutable Python objects.
...
Built-in Tuple Functions.
Sr.No. Function & Description
1 len(tuple) Gives the total length of the tuple.
2 max(tuple) Returns item from the tuple with max value.
3 min(tuple) Returns item from the tuple with min value.
4 tuple(seq) Converts a list into tuple
hope it helps you ✌️✅✅✅
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Social Sciences,
4 months ago
Science,
4 months ago
Math,
1 year ago
Math,
1 year ago
Math,
1 year ago