第 3 步:让我们告诉用户我们希望他们输入什么信息!

.ask() 命令中的字符串.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)