Computing for data analysis: assignment 3 (part 6)