Computer Science, asked by sharmamanni99, 4 months ago

which of the following function will always return tuple of 3 element

Answers

Answered by sajinkya674
3

Answer:

Functions can return tuples as return values. This is very useful — we often want to know some batsman’s highest and lowest score, or we want to find the mean and the standard deviation, or we want to know the year, the month, and the day, or if we’re doing some ecological modeling we may want to know the number of rabbits and the number of wolves on an island at a given time. In each case, a function (which can only return a single value), can create a single tuple holding multiple elements.

Similar questions