Commit 7fe658f8 by BellCodeEditor

auto save

parent 9b7b674a
Showing with 53 additions and 6 deletions
import turtle import turtle
pen=turtle.Pen() turtle.setup(1500,800,50,50)
pen.write("你好呀") p=turtle.Pen()
turtle.done() p.penup()
p.goto(-550,0)
p.pendown()
p.pensize(20)
p.pencolor("blue")
p.circle(150)
p.penup()
p.goto(-200,0)
p.pendown()
p.pensize(20)
p.pencolor("black")
p.circle(150)
p.penup()
p.goto(150,0)
p.pendown()
p.pensize(20)
p.pencolor("red")
p.circle(150)
p.penup()
p.goto(-380,-200)
p.pendown()
p.pensize(20)
p.pencolor("yellow")
p.circle(150)
p.penup()
p.goto(-30,-200)
p.pendown()
p.pensize(20)
p.pencolor("green")
p.circle(150)
p.penup()
p.goto(-30,-200)
p.pendown()
p.pensize(20)
p.pencolor("red")
p.begin_fill()
for i in range(2):
p.forward(400)
p.right(90)
p.forward(250)
p.right(90)
p.end_fill()
p.penup
p.goto(-0,-300)
p.pensize()
p.pendown()
p.pencolor("yellow")
p.begin_fill
for i in range(5):
p.forward(40)
p.right(144)
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