4. More Control Flow Tools — Python 3.15.2 documentation
This example, as usual, demonstrates some new Python features: The return statement returns with a value from a function. return without an expression argument returns None. Falling off the end of a function also returns None.