第 6 步:现在让我们使用变量star_points来控制我们的星星拥有的点数!

请记住使用变量star_points名称不是其值。

  • 在你的程序中找到star1
  • 将 points 参数从5更改为变量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)