第 9 步:现在让我们使用变量star_size来控制星星的大小!

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

  • 在你的程序中找到star1
  • 将 radius 参数从30更改为变量star_size

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)