How to Solve NameError: name 'RandomWords' is not defined -- random_word
Solution: Import the 'RandomWords' module
To Solve the error, add the following line to the top of your code.
from random_word import RandomWords
For more information:
Python random_word RandomWords