Source: https://www.tes.com/teaching-resource/python-writing-to-and-reading-from-external-csv-files-11638244