anthropicEasy Playground

Official Python client for Anthropic's Claude API

Getting started with anthropicRun locally
Install
pip install anthropic
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: anthropic)

anthropic is a third-party package. Official Python client for Anthropic's Claude API. Install with: pip install anthropic

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?