> For the complete documentation index, see [llms.txt](https://krootee.gitbook.io/python-turtle/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://krootee.gitbook.io/python-turtle/1.example01-10/01..md).

# 01.วาดรูปวงกลม

{% code title="" overflow="wrap" lineNumbers="true" fullWidth="true" %}

```python
import turtle  # นำเข้าโมดูล turtle
t = turtle.Turtle()  # สร้างออบเจ็กต์ Turtle ใหม่
t.circle(50)  # วาดวงกลมที่มีรัศมี 50 หน่วย
turtle.done()  # ปิดหน้าต่าง turtle graphics
```

{% endcode %}

<figure><img src="https://1059722861-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWAMRQLhtfzfy8yv80Se5%2Fuploads%2FaHNF2HLuuBluK7IjMpcE%2F01.png?alt=media&amp;token=29246e35-ef3a-4d90-97d4-daa3c99da36a" alt=""><figcaption></figcaption></figure>
