There are two ways of declaring code blocks: in between braces or in between the do and end keywords.

Nice! Did you notice the pipes? They create tool, the variable in between them, as a placeholder variable that only exists within the code block.

Every time we iterate over the array, tool takes on the value at that index so that we can use it.

Are you sure that this is the right time and place for the if keyword?