EXTEND: Now customize your program! Make sure you complete these minimum technical requirements:

  1. Change the background OR your sprite image label.
  2. Add more actions commands to make the dance longer.
  3. Add a second sprite to the bottom of your program. Use actions to make it dance!
  4. When you're done, click Submit to turn in your project and Next to move on!

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

stage.set_background("concert") sprite = codesters.Sprite("person1") sprite.move_down(100) sprite.set_speed(3) sprite.flip_up_down() sprite.move_right(150) sprite.move_left(200) sprite.flip_up_down() sprite.turn_left(360) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) sprite.flip_right_left() stage.wait(1) def enter_key(): sprite.turn_right(360) # add other actions... stage.event_key("enter", enter_key)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)