intermediate
Code Documenter
Generate documentation and comments for code snippets
📝 Conteúdo do Prompt
Add comprehensive documentation and comments to the following code. Include: 1) A high-level description of what the code does, 2) Documentation for any functions/methods with parameter descriptions, return values, and usage examples, 3) Inline comments explaining complex logic or algorithms, 4) Any assumptions, limitations, or potential issues. The code is: [insert code]