Commit 0f547b7f by BellCodeEditor

save project

parent 16e97a7c
Showing with 13 additions and 15 deletions
import turtle
pen=turtle.Pen()
pen.write("你好\彬彬.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
t=turtle.Pen()
t.pencolor("red")
t.fillcolor("red")
t.pensize(5)
t.begin_fill()
t.left(45)
t.forward(200)
t.circle(100,180)
t.right(90)
t.circle(100,180)
t.forward(200)
t.end_fill()
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