Commit 49bb4f94 by BellCodeEditor

auto save

parent 89114a2a
Showing with 6 additions and 4 deletions
...@@ -2,16 +2,18 @@ import turtle ...@@ -2,16 +2,18 @@ import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor('yellow') screen.bgcolor('yellow')
pen=turtle.Pen() pen=turtle.Pen()
pen.speed(0)
pen.pencolor('red') pen.pencolor('red')
pen.fillcolor('red') pen.fillcolor('red')
pen.begin_fill() pen.begin_fill()
pen.pensize(5) pen.pensize(5)
len=240
pen.left(45) pen.left(45)
pen.forward(200) pen.forward(len)
pen.circle(100,180) pen.circle(len/2,180)
pen.right(90) pen.right(90)
pen.circle(100,180) pen.circle(len/2,180)
pen.forward(200) pen.forward(len)
pen.up() pen.up()
pen.goto(100,-100) pen.goto(100,-100)
pen.pencolor('black') pen.pencolor('black')
......
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