Functions

A function is a named section of a program which performs a specific task. Functions add flexibility to code like variables because they are reusable, which reduces the amount of code we have to write.

In this section we will start with a simple function and then write a function which uses the Amazon Translate Service.