You can either return a tuple like this:
def func():
# do stuff
return (90, 'is less than', 100)
Then you can get these by doing something like
value1, text, value2 = func()
value1 will be equal to a 90, text will be equal to 'is less than', and finnally, value2 will be equal to 100
That's one way of doing it. Here's another one returning a dictionnary.
def func():
# do stuff
return {'a': 90,
'text': 'is less than',
'b': 100}
Then you can use it as so:
ret = func()
print ret['a'] # prints 90
print ret['text'] # prints is less than
print ret['b'] # prints 100
There are many ways of doing something like this. You can even create a specific object for this. It depends on how you want to use your data