Question 1 of 7
Which ExitStack method enters a context manager and registers its exit operation?
Look for the API that matches the intended resource-lifecycle operation.
Use enter_context() when the stack should enter the manager now and later exit it.
Review this lesson