让 AI 充当代码解释者,阐明代码的语法和语义,逐步讲解每段代码的作用,适合学习编程、阅读他人代码或排查逻辑。

中文版提示词

我希望你充当代码解释者,阐明以下代码的语法和语义。请逐步讲解每一部分代码的作用:[代码内容]

英文版提示词

I want you to act as a code interpreter and clarify the syntax and semantics of the following code. Please explain step by step what each part of the code does: [code content]