Prompt shell
Replace highlighted brackets, then copy.
Generate code in [language] to do [task]. Include a short example input/output and a minimal test snippet. Follow style: [guide].
How to use
language- replace the bracketed field with your infotask- replace the bracketed field with your infoguide- replace the bracketed field with your info
Provide (Inputs)
- Language
- Task
- Style guide
- Env/runtime
Expected output (Outputs)
- Code
- Example IO
- Test snippet
Tips
- Keep dependencies minimal.
- Note complexity if relevant.
- Provide comments only if non-obvious.