records = [10, 9, 8, 7, 11, 10, 9, 8]
count = 0

for i in range(3, len(records)):
    if records[i-3] > records[i-2] > records[i-1] > records[i]:
        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: