# 008: Return Values
# Functions that produce output

double(x):
  x * 2

# The last expression is returned automatically
result = double(5)
show "Double of 5 is {result}"

# Explicit return also works
square(x):
  return x * x

show "Square of 5 is {square(5)}"
