Commit 49089ea6 by BellCodeEditor

save project

parent f9b6bca9
Showing with 10 additions and 5 deletions
......@@ -2,9 +2,14 @@
import turtle
pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?")
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,360,3)
screen=turtle.Screen()
sizew=screen.textinput("提示","你想要多大的魔法阵呀?")
sizee=int(sizew)
pen.fillcolor("purple")
pen.begin_fill()
pen.circle(sizee)
pen.circle(sizee,360,3)
pen.circle(sizee,60)
pen.circle(sizee,360,3)
pen.end_fill()
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