Bank of America interview question

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