# 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') ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up