第5步:接下来,我们将使用 for loop 给我们的朋友一整排礼物!首先需要创建一个变量。

  • 点击 ,将 Integer Variable 拖动到程序底端的循环外部。
  • 点击 ,将 Variable Display 拖动到程序底部。

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)