Commit 5b6a2ff9 by BellCodeEditor

save project

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