Commit 8c786683 by BellCodeEditor

save project

parent b16aac26
Showing with 9 additions and 3 deletions
# 利用write()帮 # 利用write()帮
import turtle import turtle
#pen=turtle.Pen() pen=turtle.Pen()
#pen.write("你好!\n诺伊",font=("Times",30,"normal")) screen=turtle.Screen()
#turtle.done() screen.bgcolor("light pink")
pen.penup()
pen.goto(100,-100)
pen.write("你好!\n诺伊",font=("Times",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.left(45) pen1.left(45)
pen1.forward(150) pen1.forward(150)
...@@ -14,3 +18,5 @@ pen1.left(45) ...@@ -14,3 +18,5 @@ pen1.left(45)
pen1.forward(150) pen1.forward(150)
pen1.hideturtle() pen1.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