Commit df9983c7 by BellCodeEditor

save project

parent a50ceeec
Showing with 24 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
len=60
pen.write("你好,陌生人",font=("Times",13,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(100,100)
for i in range(3):
pen.pencolor("red")
pen.pendown()
pen.left(45)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*2)
pen.left(45)
len=len+10
turtle.done()
\ No newline at end of file
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