Commit 9c8b7ded by BellCodeEditor

save project

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