Pregunta de entrevista de Bank of America

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