can a python function return multiple values if yes support your answer with example
Answers
Answered by
3
Answer:
Python functions can return multiple values. These values can be stored in variables directly. A function is not restricted to return a variable, it can return zero, one, two or more values. ... For returning multiple values from a function, we can return tuple, list or dictionary object as per our requirement
Answered by
0
Answer:
Python functions can return multiple values. These values can be stored in variables directly. A function is not restricted to return a variable, it can return zero, one, two or more values. ... For returning multiple values from a function, we can return tuple, list or dictionary object as per our requirement.
Similar questions