Commit a605d447 by BellCodeEditor

auto save

parent 280c6c18
Showing with 33 additions and 2 deletions
......@@ -4,8 +4,15 @@ screen=turtle.Screen()
pen= turtle.Pen()
size=screen.textinput("提示","你想要多大的魔法阵呀?")
size=int(size)
pen.circle(size)
pen.penup()
pen.goto(0,-size)
pen.down()
pen.circle(size,steps=6)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,60,steps=1)
pen.circle(size,360,3)
for i in range(6):
pen.circle(size,60,steps=2)
for i in range(12):
pen.circle(size,30,steps=2)
turtle.done()
import turtle
pen=turtle.Pen()
pen.circle(1)
pen.forward(100)
pen.home()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(-100,-100)
pen.right(45)
pen.pendown()
pen.circle(100/0.75,360,steps=4)
pen.penup()
pen.goto(0,-50)
pen.left(45)
pen.pendown()
pen.fillcolor("blue")
pen.begin_fill()
pen.circle(50)
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