cost=int(input("enter the cost of the bike: \n"))
if (cost<=50000):
    road_tax=cost*0.05
    print("road tax:",road_tax)
elif (cost<100000):
    road_tax=cost*0.1
    print("road tax:",road_tax)
else:
    road_tax=cost*0.15
    print("road tax:",road_tax)

Embed on website

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