Commit 3171ee5d by BellCodeEditor

save project

parent 6ab72d63
Showing with 5 additions and 4 deletions
......@@ -7,17 +7,18 @@ p.penup()
p.goto(100,-100)
p.pendown()
p.write("你好,诺伊",font=("Times",30,"normal"))
len=60
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(20)
pen.fillcolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(len,180)
pen.forward(2*len)
pen.end_fill()
pen.hideturtle()
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