Functions

To define a new function in Sage, use the def command and a colon after the list of variable names. For example:
Another example: