第6步:让我们定义另一个函数!记住,我们要调用程序底部的所有函数。

  • 点击 并拖出 Define Function
  • 将新函数拖动到 headstand函数之后、函数调用行之前的位置。
  • 将新函数命名为 sway
  • Turn Left 拖动到 sway 函数内部。

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)