What is the purpose of a system prompt when interacting with Claude?	To customize the tone and style of the response.
How is a system prompt defined and passed to Claude?	As a plain string passed into the `create` function call.
What is the typical first line of a system prompt?	Assigning Claude a specific role (e.g., "patient math tutor").
What behavior should a system prompt encourage in a tutor chatbot?	Guiding the student step-by-step rather than providing immediate, complete answers.
Why was the system prompt hard-coded in the original chat function?	To demonstrate the concept, but it limited reusability for different problems.
What technical constraint prevented simply passing `None` for the system prompt in the refactored code?	The API does not allow passing a system prompt of `None`.
How was the dynamic inclusion of the system prompt handled in the refactored chat function?	By checking if a system prompt was passed and only adding the `system` key to the parameters dictionary if one existed.
