Time = 55 total = 0 if Time - 30 < 0: total += 2000 else: total += 2000 Time -= 30 while Time >= 0: total += 500 Time -= 10 print(total)
To embed this project on your website, copy the following code and paste it into your website's HTML: