第12 步:根据用户输入更改圆圈颜色的时间。

  • 去并将“ Set Color ”拖到程序底部。
  • 将set_color()前面的变量从sprite更改为circle 。
  • 将set_color()中的文本从"green"更改为变量choice 。

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)