Return
Applies to: general
return exits a function and sends a value back to the caller. Without an explicit return value, many languages return a special empty value.
def square(x):
return x * x
See also: function
Applies to: general
return exits a function and sends a value back to the caller. Without an explicit return value, many languages return a special empty value.
def square(x):
return x * x
See also: function