quantity=float(input("Enter the quantity of item sold:"))
price=float(input("Enter the value of item:"))
tax=float(input("Enter the tax:"))
print("\n******BILLING******")
print("Quantity sold=",quantity)
print("Price per item=",price)
print("------------")
amt=quantity*price
if(amt>5000):
dis=amt*(10/100)
print("Discount=",dis)
elif(amt>1000):
dis=amt*(5/100)
print("Discount=",dis)
else:
print("Discount=",dis)
print("------------")
dis_amt=amt-dis
print("Discounted total=",dis)
To embed this project on your website, copy the following code and paste it into your website's HTML: