当三角形围绕原点旋转时,它与原点的距离保持不变。这意味着,三角形上的每个点与原点保持相同的距离。

  • 点击三角形四次,将其旋转360度。
  • 在看过完整的旋转后,点击 提交 下一步 继续课程。

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("grid") sprite = codesters.Sprite("triangle", 100, 50) sprite.set_speed(1)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)