Can Python function return multiple data?

random832 at fastmail.us random832 at fastmail.us
Thu Jun 4 18:59:33 EDT 2015


On Thu, Jun 4, 2015, at 18:16, Steven D'Aprano wrote:
> Remember, you've tried to claim that it is not invisible or unknown, so
> you
> must be able to see and know that value. So what is the value?

It doesn't have to have a string representation to exist. But if you
really want one?

>>> object.__repr__(23)
'<int object at 0x10024af00>'



More information about the Python-list mailing list