Pergunta de entrevista da empresa Bank of America

Writing python code and finding three numbers in list whose sum is equals to another number provided.