if you want to write a program to compute the Net Amount to be paid by the customers as per the following inputs :
A cloth showroom has announced the following seasonal discounts on the purchase of items.
The table below shows the Discount on specific items:
| Purchase amount | Mill cloth | Handloom items |
| 1-100 | – | 5.0 |
| 101-200 | 5.0 | 7.5 |
| 201-300 | 7.5 | 10.0 |
| >300 | 10.0 | 15.0 |
a = int(input("No of mill cloths:"))
b = int(input("No of hand loom items:"))
#rate of mill cloth = 500
#rate of handloom cloth = 600
amount = a*500 + b*600
if (amount<=100):
bill = amount - 5*b
elif (amount>100 and amount<=200):
bill = amount - 5*a - 7.5*b
elif (amount>200 and amount<=300):
bill = amount - 7.5*a - 10*b
else:
bill = amount - 10*a - 15*b
print(f"Total Amount : {amount}")
print(f"Total Amount after discount to be paid : Rs{bill}")a = no of mill cloths
b = no of handloom items

