Commit e7af90b6 by BellCodeEditor

save project

parent c72ccda5
Showing with 11 additions and 5 deletions
# 利用write()帮
import turtle
#pen=turtle.Pen()
#pen.write("Moyi,I don't love you\n, but you are clever.",font=("Times",18,"normal"))
#pen.hideturtle()
#turtle.done()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(80,11)
pen.write("Moyi,I don't love you\n, but you are clever.",font=("Times",18,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen.penup()
pen.goto(40,-11)
pen1.color("red")
pen1.left(45)
pen1.forward(50)
......@@ -21,4 +26,4 @@ pen1.color("green")
pen1.forward(50)
pen1.color("red")
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