NameError: name 'num2Words' is not defined

Error:

---------------------------------------------------------------------------NameError                                 Traceback (most recent call last)<ipython-input-1-4191f3e50620> in <module>()      1 import matplotlib.pyplot as plt      2 get_ipython().magic('matplotlib inline')----> 3 plt.hist(numWords, 50)      4 plt.xlabel('Sequence Length')      5 plt.ylabel('Frequency')NameError: name 'num2Words' is not defined

Solution:

pip install num2words