Commit 1713aaed by BellCodeEditor

save project

parent 87226869
Showing with 8 additions and 1 deletions
......@@ -2,11 +2,18 @@
import turtle
pen= turtle.Pen()
pen.pensize(10)
x=turtle.Screen()
size=x.textinput("提示","你想要多大的魔法阵呀?")
z=x.textinput("提示","你想要什么颜色的纹路?")
pen.pencolor(z)
size=x.textinput("提示","你想要多大的魔法阵?")
v=int(size)
n=x.textinput("提示","你想要什么颜色?")
pen.fillcolor(n)
pen.begin_fill()
pen.circle(v)
pen.circle(v,360,3)
pen.circle(v,60)
pen.circle(v,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