How to Solve NameError: name 'init' is not defined -- sayHello

Solution: Import the 'init' module

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

from sayHello import init

 

For more information:
Python sayHello init