Commit 00e6e3be by BellCodeEditor

auto save

parent 4993dcbc
Showing with 9 additions and 0 deletions
import turtle
a=int(input("我要画多边形:"))
p=turtle.Pen()
for i in range(a):
p.left(360/a)
for i in range(a):
p.forward(20)
p.left(360/a)
turtle.done()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment