Computer Science, asked by chiragsingh8833, 1 month ago

can a python function return multiple values if yes support your answer with example​

Answers

Answered by 4001vartikayadav
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 5730abhishekyadav3B
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