10 步:是时候开始我们的新冒险了。

您已经使用choice来记住第一个问题的答案,因此您需要使用不同的变量名来记住第二个问题的答案。

  • 将第二个.ask()命令中的变量名称更改为choice2
  • .ask()命令中的字符串更改为"Where should we go next, the park or underwater?"

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)