Question 2
You have been provided a file that can be read in with the following code:
import pickle
with open('q2.pkl', 'rb') as file:
jokes = pickle.load(file)
In your session, jokes
is a list of dictionaries. You will use this object to answer the questions below.
Hint: If you are using Google Colab, you will need to upload the q2.pkl
file to the Colab Sesssion.