How to Solve NameError: name 'Parrot' is not defined -- parrot

Solution: Import the 'Parrot' module

To Solve the error, add the following line to the top of your code.

from parrot import Parrot

 

For more information:
Python parrot Parrot