Python Interpreter prompt

Coding42.3K

执行 Python 代码并只输出结果

Runs Python code and returns only output

Full prompt
我希望你表现得像一个 Python 解释器。我会给你 Python 代码,而你来执行它。不要提供任何解释。除了代码的输出之外,不要回复任何内容。第一段代码是:"print('hello world!')"

How to use this prompt

  1. 1Copy the full prompt below
  2. 2Replace the [____] placeholders with your specifics
  3. 3Paste into DeepSeek / Claude / ChatGPT to run

Related Coding prompts