Commit 4f96967b by BellCodeEditor

save project

parent 395df1c6
Showing with 13 additions and 6 deletions
import turtle
pen=turtle.Pen()
pen.pencolor("blue")
pen.penup()
pen.goto(90,-100)
pen.write("诺依,\n你好,\n我很高兴认识你!",font=("Times",20,"normal"))
pen.hideturtle()
screen=turtle.Screen()
screen.bgcolor("pink")
pen1=turtle.Pen()
pen1.color("red")
pen1.fillcolor("red")
......@@ -17,4 +13,15 @@ pen1.circle(60,180)
pen1.forward(120)
pen1.end_fill()
pen1.hideturtle()
pen=turtle.Pen()
pen.pencolor("blue")
pen.penup()
pen.goto(90,-100)
pen.write("诺依,\n你好,\n我很高兴认识你!",font=("Times",20,"normal"))
pen2=turtle.Pen2()
pen2up()
pen2.goto(-180,120)
pen2.write("生日快乐"font=(("Times",40,"normal"))
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