Answer:
The class data attribute of the histogram class is a dictionary. The two functional attributes are the add, to add a new word, and show, to show the histogram.
The structure of the class is as follows:
class Histogram:
"keeps track of words"
d = {}
def add(self,word):
"adds a word to the dictionary"
def show(self):
"shows the histogram"