This time we continue with the bar-code example from last episode. We create our first custom function. Functions can make the code easier to read. They are also useful to avoid repeating code: when the same group of lines is used multiple times in a program, it's a good idea to convert that group of lines into a function.
We also play a little bit with the numbers to see how they affect the image.