> For the complete documentation index, see [llms.txt](https://codehs-pd.gitbook.io/pd-textbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codehs-pd.gitbook.io/pd-textbook/chapter-11-the-primm-model/predict.md).

# Predict

Predict, the first stage of the PRIMM model.

![](https://lh4.googleusercontent.com/THRDuz6318-XbhfuP5K_NTlGs56rqWPCAJjUsvLS43l5intP2y731HlOOIuqUQR-jxfM-vCNhYfRcM3bU9xxvrDbCS2ka4YOrqIVXQkRD3GPWIE-OQ7eY1gjvqOBWVBzRklY5ho3SGdzNeWw3GLA11HVxtUibGD6PeRJ2pk15971DJiwZnX_je8XxIMYnAH5=nw)

{% hint style="info" %}
As mentioned, the Predict stage is designed for students to discuss a program & <mark style="color:blue;">**predict**</mark> what it might do
{% endhint %}

Let's try it firsthand by reading the code and predicting what may happen.

### Example 1

Take a look at the following code created using turtle python.

```python
forward(50)
left(90)
forward(100)
left(90)
forward(50)
left(90)
forward(100)
left(90)
```
