Commit f269987c by BellCodeEditor

save project

parent f4fc9554
Showing with 27 additions and 0 deletions
import turtle
def love(pen,color,size,len):
pen.color(color)
pen.pensize(size)
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("不闻爷娘唤女声,\n但闻黄河流水鸣溅溅",font=("Times",20,"normal"))
pen.goto(0,0)
pen.pendown()
love(pen,"red",3,100)
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