Machine Problem Using Module in Python

1. Create a Salary Computation App

2. Create 3 Modules for this app

3. The first module is will handle the function 

   for computing the gross salary.

4. The second module is will handle the function 

   for computing the deductions

5. The last module will be responsible for computing the net salary.

6. The user will input the following (Name, Hour, Loan, Health Insurance).

7. Tax(12% of the gross salary) and Rate(500/hr) is fixed

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website, kindly contact me also at my email address also. Thank you.

My email address is and

My mobile number here in the Philippines is 09173084360

Program Listing

from SalaryDeductions import tax, rate, TotalDeductions
from NetSalary import net

name = str(input("Enter Name: "))
hour = int(input("Hour: "))
gross = rate(hour)

print("Gross Salary:", gross)

print("Tax:", tax(gross))
loan = float(input("Loan: "))
insurance = float(input("Insurance: "))
deductions = TotalDeductions(tax(gross), insurance, loan)

print("Total Deduction: ", deductions)
print("Net Salary: ", net(gross, deductions))
def net(gross, deductions):
    return gross - deductions
def tax(gross):
    return gross * 0.12

def rate(hour):
    return 500 * hour

def TotalDeductions(tax2, insurance, loan):
    return tax2 + insurance + loan