Matching problem for a match statement

Report a typo

Connect each pattern with an expression, that it would match.

Match the items from left and right columns
case {'key': 'value'}
case ["a", *tail]
case [1, 2] | (1, 2)
case [*head, 5]
[1, 2, 3, 4, 5]
["a", "b", "c"]
(1, 2)
{'key1': 'value1', 'key': 'value'}

Create a free account to access the full topic