~4 min by voice
They're checking whether you understand the context manager protocol: that with guarantees setup and cleanup code around a block even when there's an exception, which methods make that work, and how to write your own manager as a class or with contextlib.
The interviewer will ask this question and listen. Think out loud and ask for a hint if you need one. When you're done, pause or tap “That's my answer”. In about a minute, your score and the points you covered show up here.
Sign in to answerBest with headphones · ~4 min