Hi guys, I`m working on a school project and the import system doesn`t work

Im working on a Tax calculating project and this is the quick/simple breakdown. User inputs their annual pay into MainModule Annual pay gets sent to another module called NetPay to calculate net income after taxes. NetPay does some calculations and outputs the net income (netIncome) and tax deducted (tax) I import netIncome and tax to the MainModule and try to print it out there but it wont work.
How do I fix this?

Can you paste the complete error traceback as well as the code you are using?