Skip to main content
← CoursesSenior Deep-DivesModule 1 · Concurrency & Async InternalsTyping: TypeVar, Generic, Protocolquiz4 / 101
💬 Discuss🧪 Playground+100 XP
Task
📝 **Question:** You're writing a `Cache[K, V]` class that should work for any key/value types. Which typing tools? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.

Keep going

🎯 Quiz

Question

📝 **Question:** You're writing a `Cache[K, V]` class that should work for any key/value types. Which typing tools? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
📣 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…