第4步:我们想调用程序底部的所有函数,使我们稍后可以轻松地重新排序。

  • 点击 并拖出 Define Function
  • 将新函数放置在 flip 函数定义之后、调用 flip的代码行之前的位置。
  • 将函数命名为 headstand。
  • Flip Up Down 拖动到 headstand 函数内部。

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)