跳至主要内容
AI Short
社群提示詞
使用說明
應用工具
腳本擴充
ToolsByAI
LegendTalk
IMGPrompt
工具收藏
Find on Product Hunt
反饋建議
繁體中文
English
简体中文
繁體中文
日本語
한국어
Español
Português
हिन्दी
Indonesia
Tiếng Việt
ไทย
Français
Deutsch
Italiano
Русский
العربية
Türkçe
বাংলা
支援
Telegram
Discord
QQ 群
首頁
/
Python 解釋器
Python 解釋器
#interpreter
1.5K
·
220 字元
·
≈ 71 tokens
·
來源
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 with anything except the output of the code. My first code is
[Python 代碼]
譯文
我想讓你像一個 Python 解釋器一樣行事。我將給你 Python 代碼,你將執行它。不要提供任何解釋。除了代碼的輸出,不要用任何東西來回應。
相關提示詞
Linux 終端
Linux Terminal
JavaScript 控制檯
JavaScript Console
SQL 終端
SQL terminal
常見問題
AI 是真的在執行程式碼還是在「想象」輸出?
只是模擬直譯器的行為,對簡單邏輯、數學、字串操作通常準確,但涉及隨機數、時間函式、網路呼叫、大資料會憑印象編,結果不可信。建議只用於教學演示或簡單練習,真正跑程式碼請用 Jupyter 或本地 Python。
讓它 import numpy/pandas 靠譜嗎?
常見庫的典型 API 能模擬得像模像樣,但複雜 DataFrame 操作、numpy 矩陣計算容易出微妙錯誤。對關鍵計算結果,要自行在真 Python 裡驗證,不要直接引用 AI 給的數字。
如何使用這個提示詞?
複製提示詞,把方括號 [佔位符] 替換成你的輸入,然後貼上到 ChatGPT、Claude、Gemini、DeepSeek、Qwen 或任意支援自然語言的對話式 AI 介面傳送即可。
分享
分享
討論
登入