Skip to main content
โšก
โ† Coursesโ€บCreative ChallengesModule 7 ยท ๐Ÿ”ฎ Whodunit Mysteries (10)โ€บ๐Ÿ”ฎ Whodunit #01: The vanishing logsfix61 / 100
๐Ÿ’ฌ Discuss๐Ÿงช Playground+125 XP
Task
๐Ÿ“ **Task:** Make `LogCapture.__exit__` propagate exceptions instead of swallowing them. Return `None` (implicit) โ€” don't return True. ๐Ÿ“‹ Implement the function above. Tests run automatically. ๐Ÿ’ก **Hint:** Re-read the theory if stuck.

Keep going

โœ๏ธ Write your code here
๐Ÿ
Loading Python...
First visit only โ€” ~5-10s. Stays cached afterward.
๐Ÿ“Š Result
Press Run to see result...
๐Ÿ“ฃ Help someone learn PythonShare this lesson with a friend โ€” the first 15 are free, no signup.Tweet

๐Ÿ’ฌ Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussionโ€ฆ