Pergunta de entrevista da empresa Barclays

What is a closure in python. What are the linear regression assumptions.