# Circle Drawings

{% tabs %}
{% tab title="main.py" %}

```python
import turtle
import random
from circle import draw_circle

COLORS = [(236, 69, 96), (220, 50, 10), (180, 43, 96), (157, 128, 36), (20, 156, 51), (100,150,200)]
turtle.colormode(255)

t = turtle.Turtle()

start_x = -250
start_y = -250
x_axis = start_x
y_axis = start_y

t.speed(6)
t.shape("turtle")


for row in range(10):
    for col in range(10):
        color_picker = random.choice(COLORS)
        t.up()
        t.goto(x_axis, y_axis)
        t.down()
        t.begin_fill()
        t.fillcolor(color_picker)
        draw_circle(t)
        t.end_fill()
        x_axis += 50
    x_axis = start_x
    y_axis += 50

turtle.done()

```

{% endtab %}

{% tab title="circle.py" %}

<pre class="language-python"><code class="lang-python"><strong>def draw_circle(turtle):
</strong>    turtle.circle(20)
</code></pre>

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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:

```
GET https://digitalgarden.batamladen.com/notes/programming/python/examples-projects/circle-drawings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
