Commit 63e8fc6c by BellCodeEditor

auto save

parent f9b6bca9
Showing with 17 additions and 5 deletions
...@@ -2,9 +2,21 @@ ...@@ -2,9 +2,21 @@
import turtle import turtle
pen= turtle.Pen() pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?") pen.speed(1000)
pen.circle(size) pen.pencolor("lightblue")
pen.circle(size,360,3) screen=turtle.Screen()
pen.circle(size,60) screen.bgcolor("black")
pen.circle(size,360,3) size=screen.textinput("提示","你想要多大的魔法阵呀?")
size1=int(size)
# pen.circle(size1)
pen.pensize(5)
pen.penup()
pen.goto(0,-300)
pen.pendown()
pen.circle(size1,360,3)
pen.circle(size1,40)
pen.circle(size1,360,3)
pen.circle(size1,40)
pen.circle(size1,360,3)
pen.circle(size1,280)
turtle.done() 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