# 15.วาดรูปเลขแปดอารบิก

```python
// Some code
import turtle	        #นำเข้าโมดูล turtle เพื่อใช้ในการวาดกราฟิก
t = turtle.Turtle()	#สร้างออบเจ็กต์เต่า Turtle ที่ใช้วาดกราฟิก
t.shape('turtle')	#กำหนดรูปร่างของเต่าให้เป็นรูปเต่า
t.color('blue','yellow')#กำหนดสีเส้นขอบเป็นสีน้ำเงินและสีเติมเป็นสีเหลือง
t.width(3)	        #กำหนดความหนาของเส้นเป็น 3 หน่วย
t.begin_fill()	        #เริ่มต้นการเติมสีสำหรับพื้นที่ที่ถูกวาดหลังจากนี้
t.circle(100)	        #วาดวงกลมที่มีรัศมี 100 หน่วย
t.circle(-100)	        #วาดวงกลมที่มีรัศมี -100 หน่วย (ทวนเข็มนาฬิกา)
for i in range(4):	#เริ่มต้นลูปเพื่อทำซ้ำ 4 ครั้ง
    t.circle(100)	#ในแต่ละรอบของลูป: วาดวงกลมที่มีรัศมี 100 หน่วย
    t.circle(-100)	#ในแต่ละรอบของลูป: วาดวงกลมที่มีรัศมี -100 หน่วย (ทวนเข็มนาฬิกา)
t.end_fill()	        #จบการเติมสีสำหรับพื้นที่ที่ถูกล้อมกรอบที่วาด

```

<figure><img src="/files/5eiY1dAagwrKsE8WkXG7" alt=""><figcaption></figcaption></figure>


---

# 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://krootee.gitbook.io/python-turtle/2.example11-20/15..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.
