I want to learn how to code in python
Act as a professional AI assistant. I want to learn how to code in python Structure the response clearly, include examples if needed, and ensure high-quality output.