home/productivity/task-027-prompt

Task 027 Prompt

GPTClaudeDeepSeek··772 copies·updated 2026-07-14
task-027-prompt.prompt
To reverse a string, think step by step:
Start from the end of the string and move toward the beginning, collecting each character in reverse order.
Now write a function reverse_string(s) that returns the reversed version of the input string.

when to use it

Community prompt sourced from the open-source GitHub repo KCyrusNF/Prompting-Strategies-CodeGen-Study (MIT). A "Task 027 Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

KCyrusNF/Prompting-Strategies-CodeGen-Study · MIT