---
# System prepended metadata

title: n-circle

---

# n-circle
```
# ch31_7.py
import turtle
t = turtle.Pen()
t.speed(0)
t.width(0.01)
t.hideturtle()
n = 9
for angle in range(0, 360, n):
    t.setheading(angle)         # 調整海龜方向
    t.circle(100)
#turtle.done()
t = turtle.getscreen()
t.getcanvas().postscript(file=f'{n}circlr.eps')
```