Commit 5d5369d5 by BellCodeEditor

save project

parent 2e7ea583
Showing with 8 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.write("Hello.\nHow are you?", font=("Times",100,"normal")) screen=turtle.Screen()
# pen.hideturtle() screen.bgcolor("blue")
# turtle.done() pen.penup()
pen.goto(100,-35)
pen.write("诺伊,\n祝你生日快乐", font=("Times",20,"normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(23) pen1.pensize(23)
pen1.color("red") pen1.color("red")
...@@ -13,5 +15,6 @@ pen1.circle(50,180) ...@@ -13,5 +15,6 @@ pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen.hideturtle()
pen1.hideturtle() pen1.hideturtle()
turtle.done() 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