Python Function from Natural-Language Specification
Overview
Implement a Python function from a natural-language specification with validation, edge-case handling, and comments.
Use cases
Prompt
Copied 0
Create a Python function based on the natural language request. The request describes desired functionality, input parameters, and expected return value. Implement according to the specifications: handle edge cases, perform validations, follow Python best practices, and include comments explaining the logic. REQUEST: <<<paste NL function spec>>>
Can AI?
- Implement a Python function from a natural-language specPaste into a general LLM and implement a Python function from a natural-language specification with validation, edge…