Functions may return multiple values using a dictionary.
def function(x, y): ... return {'x': x, 'y': y}