Pregunta de entrevista de Dexian

how does context manager work in python