3 ms·
Barring the fact that print became a function in Python 3 (and in Python 2.6+ with `from __future__ import print_function`), Python functions actually `return N
by lloeki 16y ago
Barring the fact that print became a function in Python 3 (and in Python 2.6+ with `from __future__ import print_function`), Python functions actually `return None` when the end of scope is reached, and indeed Python REPL does not show `None` being returned.
>>> def a():
... pass
...
>>> a() is None
True
>>> a()
>>>