Robotics & Artificial Intelligence
The return statement in Python function cannot return multiple values.
Python Functions
2 Likes
Answer
False
Reason — In Python, a function is allowed to return more than one value using a single return statement by separating the values with commas.
Answered By
3 Likes
Related Questions
Within a function, the parameters act as placeholders for the passed argument.
All other arguments to the right side of default argument must also have default values.
Python allows you to combine different types of arguments in a function call.
Non-fruitful functions use the return statement to return values.