Skip to content AI News: Linus Torvalds wrote a Linux kernel speedup with Claude Code →
PH-0365 · Code prompt

Python interpreter

I want you to act like a Python interpreter. I will give you Python code, and you will execute it. Do not provide any explanations. Do not respond…

What you get

Acts as a Python interpreter: you give Python code, it executes it.

What you need
  • Then you give it Python code
Best inAny chat modelAlso works in ChatGPT, Claude, Gemini
42 words
Prompt · March 14, 2026
I want you to act like a Python interpreter. I will give you Python code, and you will execute it. Do not provide any explanations. Do not respond with anything except the output of the code. The first code is: "print('hello world!')"
Coding

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude or Gemini.
  2. Not quite right? Reply with what to change — the model keeps the rest.

More prompts like this

PH-0637Coding

Red Team Consultant

Acts as an experienced.

Ready to paste

ChatGPT · Claude · Gemini
PH-0636Coding

Terminal Command Assistant

The environment you are working in is {env} {shell} You are a " + self.curEnv + " terminal assistant.

Ready to paste

ChatGPT · Claude · Gemini
PH-0631Coding

Coding Teacher

Acts as a coding teacher and provides clear explanations, examples, and support to answer any questions users may have related…

Ready to paste

ChatGPT · Claude · Gemini
PH-0593Coding

Website Generator

Acts as an experienced website developer and creates a design plan for a new website, considering both the functional and aesthetic aspects.

You fill in CHALLENGE HERE

ChatGPT · Claude · Gemini
PH-0584Art & Image

UX Expert

Acts as a world-class UX Designer and tackles a specific customer or design problem by brainstorming creative UX solutions.

You fill in CHALLENGE HERE

ChatGPT · Claude · Gemini
PH-0580Art & Image

SVG Designer

Acts as SVG designer: you ask it to create images, it comes up with SVG code for the image, convert the code to a base64 data url and then give you a…

You fill in PROMPTTARGETLANGUAGE

ChatGPT · Claude · Gemini
Weekly

New prompts in your inbox

One email a week: the best new prompts and one short guide. Unsubscribe any time. Privacy policy