Read CSV Records as Lists (Exercise)
00:00 This exercise is almost a mirror reflection of the one you just did here. You must read the CSV file that you created in the previous exercise and load the file’s content to a nested list of integers similar to the one you saw before.
00:15 However, instead of hard-coding the specific numeric values in the code, you should let Python fill the variable numbers with data pulled directly from the CSV file.
00:27 Finally, you should print the variable on the screen to confirm that you’ve correctly loaded the data from the CSV file. Pay particular attention to the actual data types.
Become a Member to join the conversation.