第12步:我们也可以通过只改变程序中的一行代码,来改变星形角的个数!

  • star_points 的值更改为 4
  • 点击 运行 并观察所有星形同时改变!

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)