
Quizzes and Answers
Quiz 1: In the Halloween candy example, instead of manually drawing the histogram, try to use the “hist” function of matplotlib and make the same histogram with the tool in Python. You can refer to the document of matplotlib at https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hist.html and figure out how to achieve this.
Reference to “hist” function of matplotlib https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hist.html.

