Computer Science, asked by allusai1899, 2 months ago

Write a program to calculate the net salary of an employee, if a tax of 15% is taken on his gross-salary if it exceeds Rs. 20000 per month

Answers

Answered by jai696
1

\huge\red{\mid{\fbox{\tt{Using\: Python\: 3}}\mid}}

net_salary = lambda salary: salary - (salary * .15) if salary > 20000 else salary

print("Net Salary:", net_salary((salary := float(input("salary: ")))))

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions