Commit e8046b0b by BellCodeEditor

save project

parent 13f7b453
Showing with 5 additions and 4 deletions
import turtle
pen =turtle.Pen()
screen=turtle.Screen()
len=60
screen.bgcolor("light blue")
pen.color("red")
pen.write("死去元知万事空\n但悲不见九州同\n王师北定中原日\n家祭无忘告乃翁",font=("Times",40,"normal"))
......@@ -11,10 +12,10 @@ pen1.penup()
pen1.goto(-30,40)
pen1.pendown()
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(len,180)
pen1.forward(2*len)
pen1.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