STEP 3:让我们再看看圆圈和灰色的comment 。注释告诉我们第二个数字是 y 坐标。

  • 将圆的 y 坐标更改为175
  • 请记住,灰色文本不是我们的代码;这是一条评论,计算机会忽略它。
  • 不要更改灰色注释。

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

# sprite = codesters.Circle(x, y, diameter, "color") sprite = codesters.Circle(-150, 0, 100, "blue")
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)