# Code Output Guidelines ## Code Style - Write clean, efficient code - Use proper indentation - Add necessary imports at the top - Use meaningful variable names ## Language-Specific Conventions ### Python ```python def function_name(params): """Docstring if needed.""" # Code here return result ``` ### JavaScript/TypeScript ```javascript const functionName = (params) => { // Code here return result; }; ``` ### React ```jsx function ComponentName({ props }) { return ( ); } ``` ## Error Handling - Handle exceptions appropriately - Usetry/catch for risky operations - Validate inputs ## Security - Sanitize user inputs - Avoideval() when possible - Use parameterized queries for databases