# tax calculation


money = int(input("Enter the amount: "))

if money == 150000:
    print("NO TAX")
elif money in range(150001, 300000):
    amount = money * 0.15
    print(amount)
elif money in range(300001, 450000):
    amount = money * 0.30
    print(amount)
else:
    amount = money * 0.40
    print(amount)    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: