> For the complete documentation index, see [llms.txt](https://www.pythonclassroom.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pythonclassroom.com/turtle-graphics/turtle-maze.md).

# Turtle Maze Problems

## Problems

1. Load the appropriate image&#x20;
2. Bring the turtle to the maze starting point
3. Figure out the commands to have your turtle find its way through the maze.

```python
import turtle
turtle.showturtle()
turtle.shape("turtle")
# load the appropriate image
turtle.bgpic('maze1.png')
turtle.penup()
# bring the turtle to the starting point
turtle.goto(-70, 210)
turtle.pendown()
turtle.pencolor("red")
# write your code below



# press enter in the Terminal to exit the program
input()
```

The link below loads the images into the CS50 Sandbox.  It also includes the source code above as maze1.py

<http://bit.ly/2UVEq1G>

## Problem 1

![](/files/-LoqNc71_WLaG7dKc5FD)

## Problem 2

![](/files/-LoqNhYm6aSXHR9ZFb13)

## Problem 3

![](/files/-LoqNns3UdrWhYe55ztt)

## Problem 4

![](/files/-LoqNruaXvj0HVzTYzHb)

## Problem 5

![](/files/-LoqNwf9rf0phZ-PU1k7)

## Problem 6

![](/files/-LoqO-vd7JArT6_gTBNo)

## Problem 7

![](/files/-LoqQeS_2F9y4cDTQtVh)

## Problem 8

![](/files/-LoqOHI1NmEzIbbPJb6t)

## Problem 9

![](/files/-LoqOLgbZVLvDSRZMUsU)

## Problem 10

![](/files/-LoqOOiLLsSSr1yfaLzd)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.pythonclassroom.com/turtle-graphics/turtle-maze.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
