STEP 11: We can make this into a dance move by repeating the action.

  • Go to . Drop in another Flip Right Left command below .wait().
  • Go to . Drop in another Wait command below .flip_right_left().
  • Keep adding these two commands until the sprite does the move six times.
  • Change the integer in the each .wait() command to 1.

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)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)