Reading a CSV File

We'll cover the following...

There are two ways to read a CSV file. You can use the csv module’s reader function or you can use the DictReader class. We will look at both methods. But first, we need to get a CSV file so we have something to parse. We’ve already created a data.csv file for you (and uploaded it to Educative’e execution directory) with the following contents

 ...