Prices = [10000, 25000] total = 0 for price in Prices: total += price if total < 50000: total += 3000 print(total)
To embed this project on your website, copy the following code and paste it into your website's HTML: