home/productivity/task-013-prompt

Task 013 Prompt

GPTClaudeDeepSeek··1,091 copies·updated 2026-07-14
task-013-prompt.prompt
Example 1:
Input: 2000 → Output: True
Example 2:
Input: 1900 → Output: False
Example 3:
Input: 2024 → Output: True
Now write a function is_leap_year(year) that determines if a year is a leap year using the Gregorian calendar rules.

when to use it

Community prompt sourced from the open-source GitHub repo KCyrusNF/Prompting-Strategies-CodeGen-Study (MIT). A "Task 013 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