Anthropic Interview Question

Technical screening only in Python