12 步:如果第二个测试语句为真,则将运行以下命令。

  • 拖放Say在 if 语句中缩进。
  • .say()中的字符串更改为"I like hanging out in the city."
  • 它前面应该有一个黄色块····
  • 点击运行并在第二个询问气泡中输入city以检查您的工作。

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)