Tom outlines his thought processes as he approaches the task.
If you’d like a more advanced solution to this exercise, part two of the video is available in the See Also section. This shows how to define your own functions to make the code tidier and clearer for other developers.
Having watched Tom’s video, think about your answers to the following questions:
How did Tom’s solution compare to your own?
How did his thought processes compare?
Do you find the example using custom functions clearer or not?