Sfairadora

  • Reference Guide

return Statement

return
return value
The return statement terminates the current function execution and returns the specified value as its result. If no value is specified, the function returns the value NONE. Therefore, the version without parameter can be used only in a function not returning a value (i.e. returning the None type).