Python · Structural Pattern Matching
What does this print? ``` d = {"name": "Sam"} match d: case {"name": str() as n, "age": _}: print(f"full {n}") case {"name": str() as n}: print(f"name {n}") ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
