Help the turtle reach the end of the maze!

    • Change the number in range() to help the turtle reach the goal.

    Count how many steps there are or use trial and error to determine how many times the loop needs to repeat!

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

    sprite.pen_down() for counter in range(3): sprite.move_forward(50) sprite.turn_left(90) sprite.move_forward(50) sprite.turn_right(90) sprite.pen_down()
    • Run Code
    • Submit Work
    • Next Activity
    • Show Console
    • Reset Code Editor
    • Codesters How To (opens in a new tab)