Commit 57eb6225 by BellCodeEditor

save project

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