heights = [20, 7, 23, 19, 10, 15, 25, 8, 13]
total = sum(heights)

result = []

for i in range(9):
    for j in range(i + 1, 9):
        if total - heights[i] - heights[j] == 100:
            for k in range(9):
                if k != i and k != j:
                    result.append(heights[k])
            result.sort()
            print(result)

Embed on website

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