第7步:我们需要重复相同的两个指令。

  • Move Forward 中拖动到程序底部。
  • .move_forward() 中的整数更改为 200
  • 点击 ,将 Turn Left 拖动到程序底部。
  • 用名为 angle 的变量替换 .turn_left() 指令中的整数。

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)