count = 12 pay = 10000 answer = count * pay if count >= 10: answer = answer * 80 // 100 elif count >= 5: answer = answer * 90 // 100 print(answer)
To embed this project on your website, copy the following code and paste it into your website's HTML: