Commit 57eb6225 by BellCodeEditor

save project

parent b33a99fd
Showing with 12 additions and 5 deletions
......@@ -2,9 +2,15 @@
import turtle
screen=turtle.Screen()
pen= turtle.Pen()
pen.pensize(5)
pen.pencolor("red")
pen.fillcolor("yellow")
pen.begin_fill()
size=screen.textinput("提示","你想要多大的魔法阵呀?")
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,360,3)
turtle.done()
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()
\ No newline at end of file
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