Simple Python Program To Calculate Salary of Employee with their certain Taxable amount.
This program allows the user to enter values such as: Name of Employee, Name of the Company, Salary Amount and then calculates the Taxable amount with certain salary condition applied in code & displays the Salary.
Python Code :-
e_name=input("Enter the name of Employee \n") c_name=input("Enter the company name \n") salary=float(input("Enter the salary of Employee \n")) if(salary>50000): tax=0.15*salary netsalary=salary-tax print("The net salary of "+e_name+" worked in " +c_name+ " is",netsalary) else: netsalary=salary print("No taxalbe Amount") print("The net salary of "+e_name+" worked in " +c_name+ " is",salary)
Output :-
Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve got an undertaking that I am simply now operating on, and I have been on the lookout for such info.
I have thought so many times of entering the blogging world as I love reading them. I think I finally have the courage to give it a try. Thank you so much for all of the ideas!