扩展:现在试试你的程序并定制它!请务必满足以下要求:

  1. 更改.set_gravity()命令中的数字!
  2. 添加另一个名为star9的星。
  3. 在新星的参数中使用star_sizestar_color
  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)