Explain Python Code (official example)

Claude
User Prompt
Intermediate

Prompt

Prefilling the response with an open bracket can help. Add "Do not output preamble or explanations." and it follows it pretty well.