Facing Problem while appending elements In a list

You’re saying display the subsets with a sum of 10, but the sums you’re outputting is 3, 5, 15?