Commit 24f1f7a1 by BellCodeEditor

save project

parent 2f70d1dc
Showing with 5 additions and 0 deletions
...@@ -5,8 +5,13 @@ pen= turtle.Pen() ...@@ -5,8 +5,13 @@ pen= turtle.Pen()
screen= turtle.Screen() screen= turtle.Screen()
size = screen.textinput("提示","你想要多大的魔法阵呀?") size = screen.textinput("提示","你想要多大的魔法阵呀?")
size = int(size) size = int(size)
pen.color('red')
pen.pensize(5)
pen.fillcolor('purple')
pen.begin_fill()
pen.circle(size) pen.circle(size)
pen.circle(size,360,3) pen.circle(size,360,3)
pen.circle(size,60) pen.circle(size,60)
pen.circle(size,360,3) pen.circle(size,360,3)
pen.end_fill()
turtle.done() 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