Commit 5b6a2ff9 by BellCodeEditor

save project

parent 5f586da5
Showing with 9 additions and 7 deletions
# 利用write()帮助悟空给诺依回信吧~
# 利用write()帮助悟空给诺依回信吧~
import turtle
# pen=turtle.Pen()
# pen.write("你好\n诺依.",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好\n诺依.",font=("Times",30,"normal"))
pen.hideturtle()
penl=turtle.Pen()
penl.pencolor("red")
penl.pensize(5)
......@@ -14,6 +18,4 @@ penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.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