第 6 步:让我们使用我们的变量来转动我们的精灵!

请记住,不要在变量名周围加上引号。

  • 并拖出Turn Left 。将其放在程序的底部。
  • .turn_left()中的整数90替换为变量angle


    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)