Connect each pattern with an expression, that it would match.
Matching problem for a match statement
Report a typo
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
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.