让我们把问候语移到中心。

  • 点击 ,将 Go To 拖动到程序底部。
  • 通过更改 .go_to() 前面的名称将指令分配给 greeting
  • 将x坐标(第一个数字)更改为 0
  • 将y坐标(第二个数字)更改为 200

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

stage.set_background("winter") sprite = codesters.Sprite("person12") sprite.go_to(-125, -150) frosty = codesters.Sprite("snowman") frosty.go_to(100, -125) snow = codesters.Sprite("snowflake3") snow.go_to(100, 75) greeting = codesters.Text("Happy Holidays!")
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)