How to return multiple values by a function in python

Posted by Editorial Staff | Updated on

In python, the function can return multiple values in python i.e. you can return multiple values instead of single.

How to return multiple values by a function in python

Copy the below python program and execute it to see the program output. I have executed it shared the program output after the program.

Output


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers