A cloth showroom has announced the following festival discounts on the purchase of items based on the total cost of the items purchased: Total cost Discount (in Percentage) Less than Rs. 2000 5% Rs. 2001 to Rs. 5000 25% Rs. 5001 to Rs. 10000 35% Above Rs. 10000 50% Write Python a program to input the total cost and to compute and display the amount to be paid by the customer after availing the discount by Return type with Function.
A cloth showroom has announced the following festival discounts on the purchase of items based on the total cost of …
Share
Q//Write Python a program to input the total cost and to compute and display the amount to be paid by the customer after availing the discount by Return type with Function.
DOWNLOAD THE BELOW ATTACHMENT FOR THE ANSWER: