第10步:让我们向函数中的循环添加一些指令。 指令必须缩进8个空格!

  • 将循环范围更改为 6
  • 将 say 指令中的字符串更改为 "Let's dance!"
  • Flip Right Left 拖动到循环内部。
  • Wait 拖动到循环内部,并将等待时间更改为 1 秒。

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)