第 5 步:让我们使用点符号让我们的精灵前进!

  • 并拖出Move Forward 。将其放在程序的底部。
  • .move_forward()前面的名称更改为精灵的名称astro
  • .move_forward()命令中的整数更改为3

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)