Debug Module in Python 3.x

Please read this that explains how to post code here About the Python Help category

One way to debug code is to use the print function to print information you need to understand what the code is doing.