Commit 4b8aa622 by BellCodeEditor

save project

parent a4a825c3
Showing with 3 additions and 1 deletions
...@@ -5,9 +5,11 @@ pen= turtle.Pen() ...@@ -5,9 +5,11 @@ pen= turtle.Pen()
size=screen.textinput("提示","你想要多大的魔法阵呀?") size=screen.textinput("提示","你想要多大的魔法阵呀?")
size=int(size) size=int(size)
pen.begin_fill() pen.begin_fill()
pen.fillcolor() a=input("你要什么颜色?")
pen.fillcolor(a)
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