Commit 86e47f41 by BellCodeEditor

save project

parent 7b6f85cf
Showing with 14 additions and 7 deletions
import turtle import turtle
# pen = turtle.Pen() #文字
# pen.write("离离原上草,\n一岁一枯荣。\n野火烧不尽,\n春风吹又生。",font("Time","30","normal")) pen=turtle.Pen()
# pen.hideturtle() pen.write("梅子井黄杏子肥",font=("Times",30,"normal"))
# turtle.done() pen.hideturtle()
#爱心 #爱心
pen1=turtle.pen() pen1=turtle.pen()
pen1.pencolor("red") pen1.pencolor("red")
pen1.pensize(5) pen1.pensize(5)
...@@ -14,4 +14,12 @@ pen1.right(90) ...@@ -14,4 +14,12 @@ pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.hideturtle() pen1.hideturtle()
turtle.pen #画布背景
\ No newline at end of file screen = turtle.Screen()
screen = bgcolor("light blue")
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