Dexian interview question

how does context manager work in python