Commit f6aa4bdf by BellCodeEditor

save project

parent afdbf785
Showing with 6 additions and 4 deletions
...@@ -8,13 +8,14 @@ pen.goto(100,-100) ...@@ -8,13 +8,14 @@ pen.goto(100,-100)
pen.write("hi,诺一\n我也喜欢\n---悟空",font=("Times",20,"narmal")) pen.write("hi,诺一\n我也喜欢\n---悟空",font=("Times",20,"narmal"))
pen.hideturtle() pen.hideturtle()
pen=turtle.Pen() pen=turtle.Pen()
len=60
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5) pen.pensize(5)
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(len*2)
pen.circle(50,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(len,180)
pen.forward(100) pen.forward(len*2)
pen.hideturtle() pen.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