Syntax

Defining functions is done with the fn function

We have already seen the def function to assign names to values. We can also use the same function to give a name to our functions.