Introduction
Sometimes a function needs to give back more than one piece of information. Multiple return values let a function send back several results at once.
When you want a function to give back both a result and some extra details, like a calculation and its steps.
When you need to return different types of data together, like a number and a message.
When you want to split a task into parts and return all parts at once.
When you want to return coordinates like x and y from a function.
When you want to return both success status and data from a function.