. Input sales amount. Find commission. If the amount is above Rs.100000 then
commission rate is 25% of the sales amount; otherwise 15%
Answers
Answered by
2
commission = lambda n: n * .25 if n > 100000 else n * .15
amount = float(input("enter amount: "))
print(f"commission: {commission(amount)}")
Similar questions
Computer Science,
2 months ago
Geography,
2 months ago
Computer Science,
6 months ago
Computer Science,
11 months ago