結果 : sum certain elements of a list python