Python · Structural Pattern Matching
What does this print? ``` match ["go", 5]: case [str(cmd), int(n)] if n > 0: print(f"{cmd}x{n}") case [str(cmd), _]: print(cmd) ```
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
