Commit ff37985e by BellCodeEditor

save project

parent 1526cae2
Showing with 39 additions and 3 deletions
......@@ -16,5 +16,5 @@ pen1.forward(100)
pen1.hideturtle()
pen.write("我的小宝贝,\n我爱你到永远,\n么么哒",font=("Times",18,"normal"))
pen.hideturtle()
turtle.done
# 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file
turtle.done()
# 利用write()帮助悟空给诺依回信吧
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(0,-200)
pen.down()
pen.circle(200)
pen.penup()
pen.goto(-100,50)
pen.down()
pen.begin_fill()
pen.circle(20)
pen.fillcolor("blue")
pen.end_fill()
pen.penup()
pen.goto(100,50)
pen.down()
pen.begin_fill()
pen.circle(20)
pen.fillcolor("blue")
pen.end_fill()
pen.penup()
pen.goto(0,50)
pen.down()
pen.right(60)
pen.forward(100)
pen.right(120)
pen.forward(100)
pen.right(120)
pen.forward(100)
pen.penup()
pen.goto(-150,-70)
pen.down()
pen.goto(0,-170)
pen.goto(150,-70)
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