Commit ca61d9fa by BellCodeEditor

save project

parent f0ed8747
Showing with 6 additions and 2 deletions
...@@ -2,8 +2,12 @@ ...@@ -2,8 +2,12 @@
import turtle import turtle
pen= turtle.Pen() pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?(1~200)") screen=turtle.Screen()
size1=int(size) screen.bgcolor("light yellow")
x=screen.textinput("提示","你想要多大的魔法阵呀?1~200")
size1=int(x)
pen.pensize(20)
pen.pencolor("orange")
pen.circle(size1) pen.circle(size1)
pen.circle(size1,360,3) pen.circle(size1,360,3)
pen.circle(size1,60) pen.circle(size1,60)
......
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