Commit b77b33ae by BellCodeEditor

save project

parent 2d55d183
Showing with 5 additions and 5 deletions
......@@ -8,16 +8,16 @@ pen.goto(100,-100)
pen.write("望庐山瀑布\n[唐]李白\n日照香炉生紫烟,\n遥看瀑布挂前川.\n飞流直下三千尺,\n疑是银河落九天.",font=("Times",20,"normal"))
pen.hideturtle()
#爱心
len=80
pen1=turtle.Pen()
pen1.fillcolor("red")
pen1.begin_fill()
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(len*2)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(len,180)
pen1.forward(len*2)
pen1.end_fill()
pen.hideturtle()
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