> For the complete documentation index, see [llms.txt](https://gilmour.online/compsci/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gilmour.online/compsci/pnr/4-turtle-app.md). Agents can also search and read this documentation through its [MCP server](https://gilmour.online/compsci/~gitbook/mcp).

# 4: Turtle Design App

## Class Videos

###

{% embed url="<https://youtu.be/yLzET5nshAY>" %}

###

{% embed url="<https://youtu.be/Iy5N13DVpaQ>" %}

### assignment PT 2

{% embed url="<https://youtu.be/FbHQiaPKHJ4>" %}

###

###

{% embed url="<https://youtu.be/uTMqkgr35Ok>" %}

### Extending the SuperTurtle APP Assignment

To finish off the superturtle app, we are going to add the following to our program:

* Move the printing of the menu options to the helper function, but run it in main.py **(2 points)**
* Add four\_square to the menu options (you should have 1. add turtle, 2. star, 3. four square at this point) and make them execute when called. **(2 points)**
* Add at least 3 new methods to the SuperTurtle class (whatever you want, but they should be obviously different than the things we wrote together.) Add the methods to the main menu and make sure they execute when called. **(9 points)**
* Make sure you have a creative display! **(2 points)**

###


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gilmour.online/compsci/pnr/4-turtle-app.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
