return values

if i have this return line at the end of a function

return xi, yi # Intersecting.

how do i print or transfert the values to other variables ?

cause i tried to print theses values and it does not recognise theses?

also is there a maximum number of return variables ?


def function():
    # do stuff here
    return xi,yi

x,y = function()

Is that what you are meaning?

I dont know if there is a limit to the number you can return. I don’t think it is anything to worry about.