第 6 步:现在让我们创建并放置我们的第二条金色条纹。

  • 并拖出一个Rectangle
  • 将颜色从"blue"更改为"gold"
  • 将宽度更改为700
  • 将高度更改为100

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background_color("lightblue") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 100, "gold") sprite.turn_left(45)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)