emp_name = input("Enter the name of the Employee: \n") comp_name = input("Enter the company name: \n") salary = float(input("Enter the salary of the Employee: \n")) if (salary > 10000): tax = 0.20 * salary net_salary = salary - tax print("The net salary of " + emp_name+" in " + comp_name + " is", net_salary) else: net_salary = salary print("Salary is not Taxable") print("The Net salary of " + emp_name + " in " + comp_name + " is ", salary)