order = 15000
answer = order

if order >= 30000:
    answer += 0
elif order >= 10000 and order < 30000:
    answer += 2000
else:
    answer += 4000

print(answer)

Embed on website

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