Commit bd06b4b9 by BellCodeEditor

auto save

parent 02687d03
Showing with 12 additions and 5 deletions
......@@ -2,9 +2,16 @@
import turtle
pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?")
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,360,3)
pen.pensize(5)
pen.pencolor("red")
pen.fillcolor("yellow")
pen.begin_fill()
screen=turtle.Screen()
size=screen.textinput("提示","你想要多大的魔法阵呀?")
p=int(size)
pen.circle(p)
pen.circle(p,360,3)
pen.circle(p,60)
pen.circle(p,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