home/roleplay/prompt-14-1

Prompt 14 1

GPTClaudeGemini··1,128 copies·updated 2026-07-14
prompt-14-1.prompt
Find and fix all errors, including data type conversions, in the following code:

=====
print('Enter a number:')
x = input()

if x = 10:
	print('X is 10')
	
for i in range(0, x):
print(i)
=====

Output:

when to use it

Community prompt sourced from the open-source GitHub repo barun-saha/CodePrompt (MIT). A "Prompt 14 1" 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

roleplaycommunitygeneral

source

barun-saha/CodePrompt · MIT