Skip to content

Match practice problems in Python

Difficulty:
Category & tags Filters active
Category:
Tag:

Showing 8 of 8

Title Difficulty
Answer Chat Commands with match and case Easy
Build an Event Router with Guards Medium
Let mypy Catch a Missing Case with assert_never Hard
Limit a Parameter to a Few Exact Values with Literal Medium
Make mypy Report an Unhandled Event with assert_never Medium
Match Lists and Dictionaries by Their Shape Medium
Simplify Arithmetic Expressions with Class Patterns Medium
Turn Status Codes into Labels with match Medium