Activity: Flip

STEP 8: Let's complete the flip!

The .turn_right(90) command turns a sprite 90 degrees. To do a flip, we need to spin in a complete circle or do a 360.

    • In your .turn_right(90) command, change the number inside the parentheses from 90 to 360.
    • Click Run to watch your sprite do a flip! Then, click Submit and Next to move on.

    stage.set_background("underwater") sprite = codesters.Sprite("fish") sprite.move_down(150) stage.wait(2) sprite.turn_right(90)