Commit c4e59d79 by BellCodeEditor

save project

parent 09bdcc47
Showing with 14 additions and 2 deletions
import turtle
# 爱心
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("light blue")
pen.hideturtle()
pen.fillcolor("red")
pen.pensize(5)
pen.penup()
pen.goto(-100,30)
pen.pendown()
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
#诗句
pen1 = turtle.Pen()
pen1.hideturtle()
pen1.write("春眠不觉晓\n\n",font=("楷体",15,"normal"))
pen1.write("处处闻啼鸟",font=("Times",15,"normal"))
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