Exercise: CSV as dictionary of dictionaries
Create a script called monty_python_dictionary_of_dictionaries.py that given a file like the CSV file of Monty Python troupe (examples/csv/monty_python.csv" %}, will create a dictionary where we can look up information about them based on the first name. For example:
filename = 'examples/csv/monty_python.csv'
people = read_csv_file(filename)
print(people["Graham"]["lname"]) # Champman
print(people["John"]["born"]) # 27 October 1939
print(people["Michael"])
# {'lname': 'Palin', 'born': '5 May 1943', 'fname': 'Michael'}
print(people["Terry"]["lname"]) # Gilliam