Traceback (most recent call last):


 "learner.py", line 32, in <module>

print(fdist.tabulate())


 "<edited>/env/lib/python3.7/site-packages/nltk/probability.py", line 333, in tabulate

width = max(len("%s" % s) for s in samples)


 "<edited>/env/lib/python3.7/site-packages/nltk/probability.py", line 333, in <genexpr>

width = max(len("%s" % s) for s in samples)
TypeError: not all arguments converted during string formatting

Traceback (most recent call last):


 "/usr/lib/python3.7/site-packages/spyder/widgets/helperwidgets.py", line 127, in paint

textRect = style.subElementRect(QStyle.SE_ItemViewItemText, options)
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
