Commit 8a3b8daa by BellCodeEditor

auto save

parent da38f587
Showing with 10 additions and 3 deletions
...@@ -3,7 +3,7 @@ import turtle ...@@ -3,7 +3,7 @@ import turtle
# pen=turtle.Pen() # pen=turtle.Pen()
# pen.write("hello,我叫徐俊亨!",font=("Times",30,"normal")) # pen.write("hello,我叫徐俊亨!",font=("Times",30,"normal"))
# pen.hideturtle() # pen.hideturtle()
# turtle.done() # pen.done()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
...@@ -12,4 +12,11 @@ pen1.right(90) ...@@ -12,4 +12,11 @@ pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.hideturtle() pen1.hideturtle()
turtle.done() pen1.done()
\ No newline at end of file # import turtle
# pen=turtle.Pen()
# pen.left(45)
# pen.forward(100)
# pen.circle(-50,180)
# pen.left(90)
# pen.circle(50,180)
\ 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