Commit f66dda4f by BellCodeEditor

save project

parent 2a028b01
Showing with 12 additions and 7 deletions
......@@ -4,14 +4,10 @@ import turtle
# pen.write("诺依,\n turtle真好用,\n 我已经会在画布上写字啦!",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.write("祝你生日快乐!",font=("Times",30,"normal"))
pen.hideturtle()
len=60
penl=turtle.Pen()
penl.pensize(5)
penl.pencolor("red")
penl.left(45)
......@@ -21,4 +17,12 @@ penl.right(90)
penl.circle(len,180)
penl.forward(2*len)
penl.hideturtle()
turtle.done()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.write("祝你生日快乐!",font=("Times",30,"normal"))
pen.hideturtle()
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