第12步:当你希望循环停止添加指令时,只要不缩进就可以了。

  • 点击 ,并将 Say拖动到循环最后一行的外部。
  • 将前面的变量名称更改为 wilbur。将文本更改为"Thanks for helping!"
  • 该指令应该是程序的最后一行,并且不要缩进。

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)