# -*- coding: utf-8 -*-
"""
Created on Tue Dec 29 15:15:14 2020

@author: pedro
"""

import itertools


permutations = itertools.permutations(my_list,3)

lista = [result for result in combinations if sum(result) == 10]
print(lista)




