Commit f1c733a7 by BellCodeEditor

save project

parent 6a44fb18
Showing with 6 additions and 4 deletions
...@@ -8,12 +8,13 @@ turtle.write("哈哈哈哈\n哈哈哈哈",font = ("Times",20,"normal")) ...@@ -8,12 +8,13 @@ turtle.write("哈哈哈哈\n哈哈哈哈",font = ("Times",20,"normal"))
turtle.ht() turtle.ht()
pen = turtle.Pen() pen = turtle.Pen()
pen.pencolor("red") pen.pencolor("red")
i = 60
pen.pensize(5) pen.pensize(5)
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(2*i)
pen.circle(50,180) pen.circle(i,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(i,180)
pen.forward(100) pen.forward(2*i)
pen.ht() pen.ht()
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