Commit 0f547b7f by BellCodeEditor

save project

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