No problem at all.
Although it is not a typical Python language design, where it is common to have functions without a return value, it is possible that a function always returns the object on which it acted - the use of this returned value is optional.
In Javascript and some Python libraries it is common to always return the object the function has acted on - this way you can chain other direct calls to the return value. But if you don’t have any other calls, nothing happens.
There is not even an additional memory expense - if there is no variable to store a return value: once it is returned, as there is no reference to it, it is destroyed, and its memory released.
No, the only thing the value returned will be lost in the limb of memory and you won’t be able to access it.
– Woss