prices = [3000, 7000, 2000, 10000]
count = 0

for i in range(len(prices)):
    if prices[i] > 5000:
        count += 1

print(count)
    

Embed on website

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