Commit f64dc1af by BellCodeEditor

save project

parent ae26e46e
Showing with 9 additions and 5 deletions
...@@ -4,17 +4,20 @@ import turtle ...@@ -4,17 +4,20 @@ import turtle
turtle.bgcolor("light blue") turtle.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100)
pen.write("\n君不见黄河之水天上来,\n奔流到海不复回。",font=("Times",20,"normal")) pen.write("\n君不见黄河之水天上来,\n奔流到海不复回。",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
pen.penup()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(10) pen1.pensize(10)
pen1.pencolor("green") pen1.pencolor("green")
pen1.left(45) pen1.left(45)
pen1.forward(200)
pen1.circle(100,180) len=60
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90) pen1.right(90)
pen1.circle(100,180) pen1.circle(len,180)
pen1.forward(200) pen1.forward(2*len)
pen1.hideturtle() pen1.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
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