Commit 710ef46d by BellCodeEditor

save project

parent 78618ced
Showing with 4 additions and 1 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("诺依,你好呀!\nturtle真好用,\n我学会在画布写字了!",font=("Times",20,"normal")) pen.write("诺依,你好呀!\nturtle真好用,\n我学会在画布写字了!",font=("Times",20,"normal"))
# pen.hideturtle() pen.hideturtle()
screen=turtle.Screen()
#turtle.done() #turtle.done()
#画爱心 #画爱心
pen1=turtle.Pen() pen1=turtle.Pen()
screen.bgcolor("light blue")
pen1.speed(4) pen1.speed(4)
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
...@@ -26,3 +28,4 @@ turtle.done() ...@@ -26,3 +28,4 @@ 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