from itertools import combinations
arr = [20, 7, 23, 19, 10, 15, 25, 8, 13]
temp = []
for combo in combinations(arr,7):
if sum(combo) == 100:
temp = list(combo)
print(temp)
To embed this project on your website, copy the following code and paste it into your website's HTML: