You've learned how to create functions and pass values into them — but functions can also send data back to wherever they were called from. They do some work, then hand back the result.

Swift has tons of built-in functions that do this. For example sqrt() takes a number and sends back its square root:

let root = sqrt(169)

print(root)

// 13.0