Skip to main content
← CoursesSenior Deep-DivesModule 5 · Architecture & Code ReviewPattern matching internals — __match_args__quiz73 / 101
💬 Discuss🧪 Playground+125 XP
Task
📝 **Question:** Why does match against `Color.RED` MATCH the value but match against `red` CAPTURE into a variable? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.

Keep going

🎯 Quiz

Question

📝 **Question:** Why does match against `Color.RED` MATCH the value but match against `red` CAPTURE into a variable? 📋 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…