演示:在我们开始添加标志的部分之前,让我们了解什么是用户输入以及它是如何工作的。

用户是将使用您构建的程序的人。用户输入要求用户在文本窗口中输入。

用户输入的文本存储在名为choice的变量中。我们称之为输入变量

  • 点击运行并按照舞台上的说明完成活动。
  • 然后点击提交接下来继续。

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)