Commit 8a06b36d by BellCodeEditor

save project

parent c4764507
Showing with 8 additions and 2 deletions
...@@ -7,10 +7,16 @@ pen=turtle.Pen() ...@@ -7,10 +7,16 @@ pen=turtle.Pen()
pen.goto(100.-100) pen.goto(100.-100)
pen.write("你好\nSB.",font=("Times",30,"normal")) pen.write("你好\nSB.",font=("Times",30,"normal"))
pen1=turtle.pen() pen1=turtle.pen()
len=60
pen1.left(45) pen1.left(45)
pen1.forward(2*len)
pen1.circfe(len,180)
pen1.forward(100) pen1.forward(100)
pen1.circfe(50,180) pen1.right(90)
pen1.forward(100) pen1.circfe(len,180)
pen1.forward(2*len)
pen1.hidturtle()
turtle.done()
pen1.hidturtle() pen1.hidturtle()
pen1=turtle.pen() pen1=turtle.pen()
pen1.pencolor("red") pen1.pencolor("red")
......
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