Let's repeat the move two more times.

  • Go to and drag out Flip Right Left and Wait. Change the number in .wait() to 1.
  • Go to again and drag out another Flip Right Left and another Wait. Change the number in .wait() to 1.

Once you're finished, you should have four Flip Right Left commands and four new Wait commands.

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

stage.set_background("subway") sprite = codesters.Sprite("person10") sprite.move_down(75) sprite.flip_up_down() sprite.move_right(200) sprite.move_left(150) sprite.flip_up_down() stage.wait(2) sprite.move_up(50) sprite.turn_left(360) sprite.move_down(50) stage.wait(2) sprite.flip_right_left() stage.wait(1) 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)