Returning multiple values from a function

Returning multiple values from a function

  • In other languages like C,C++ and Java, function can return atmost one value. But in Python, a function can return multiple values.

Eg 1:  

Eg 2: 


Comments