<filename>pythtest.py
price=105.50
qty=36
amount=price*qty
if amount>10000:
    print ("20% discount applicable")
    discount=amount*20/100
    amount=amount-discount
    
    print ("amount payable:",amount)

    
    
else:
       if amount>5000:
           print ("10% discount applicable")
           discount=amount*10/100
           amount=amount-discount
        else:
            if amount>10000:
                print ("1% discount applicable")
                discount=amount*1/100
                amount=amount-discount
            else :
                print ("no discount applicable")
print ("amount payable:",amount)
                



    

<filename>pythtest.py
price=105.50
qty=36
amount=price*qty
if amount>10000:
    print ("20% discount applicable")
    discount=amount*20/100
    amount=amount-discount
    
    print ("amount payable:",amount)

    
    
else:
       if amount>5000:
           print ("10% discount applicable")
           discount=amount*10/100
           amount=amount-discount
        else:
            if amount>10000:
                print ("1% discount applicable")
                discount=amount*1/100
                amount=amount-discount
            else :
                print ("no discount applicable")
print ("amount payable:",amount)
                



    
