human
I am working on the file "Python/Chapter-07/HashMap.ipynb".
The first task is:
Let us test this function.
Can you write Python program for it?
 Give me a the Python program you requested?
assistant
#Here is the Python program you requested.

hash_code('George W. Bush', 6761)

class HashTable:
    def __init__(self, n, code=hash_code):
        self.mSize    = n
        self.mEntries = 0                                        # number of entries
        self.mArray   = [ ListMap() for i in range(self.mSize) ] # array of empty ListMap objects
        self.mAlpha   = 2                                        # load factor
        self.mCode    = code