第6步:现在让我们使用变量 star_points 来控制星形角的个数!

记住,使用变量 star_points 的名称,而不是其值。

  • 在程序中查找 star1
  • points 参数中的数字更改为变量 star_points

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)