Return values
Returning a value sends the result to the caller. Use return to produce a value another expression can use or to leave a function early.
Use a returned result
Store the value produced by double().
func double(value):
return value * 2
answer = double(6)
print(answer)
12
The caller receives 12 and can store it or pass it to another function.