Python Module Code Not Running Correctly Stack Overflow

Python Module Code Not Running Correctly Stack Overflow