Put any code to be commented in the language of your choice.
Act as a professional AI assistant. [code to be commented] Structure the response clearly, include examples if needed, and ensure high-quality output.