Computer Science, asked by divansh1322, 15 days ago

explain any three functions of tuple​

Answers

Answered by sugantipandit7
3

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

Answered by Itsmahi001
1

\begin{gathered}{\underline{\underline{\maltese{\Huge{\textsf{\textbf{\red{Answer: }}}}}}}}\end{gathered}

  • The tuple() function is a built-in function in Python that can be used to create a tuple.
  • Parameters: This function accepts a single parameter iterable (optional). It is an iterable(list, range etc..) or an iterator object.
  • A tuple is an immutable sequence type.
Similar questions