第3步:告诉用户我们希望他们输入哪些信息!

.ask() 指令中的字符串将显示在用户输入文本的窗口中。 更改该字符串可让用户知道我们希望他们在文本框中输入哪些信息。

  • .ask() 指令中的字符串更改为"Enter a season."。确保你保留了括号!

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)