Commit 6663cfe0 by BellCodeEditor

save project

parent aea2e558
Showing with 8 additions and 6 deletions
...@@ -4,10 +4,12 @@ import turtle ...@@ -4,10 +4,12 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("blue") screen.bgcolor("blue")
size=textinput("提示","你想要多大的魔法阵呀?")
l=int(size) size=screen.textinput("提示","你想要多大的魔法阵哪?")
pen.circle(l)
pen.circle(l,360,3) len=int(size)
pen.circle(l,60) pen.circle(len)
pen.circle(l,360,3) pen.circle(len,360,3)
pen.circle(len,60)
pen.circle(len,360,3)
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