Commit 7f3a721d by BellCodeEditor

save project

parent 82a8cae3
Showing with 138 additions and 4 deletions
import turtle
pen=turtle.Pen()
pen.write("你好\ni.",font=("Times",30,"normal"))
pen.hideturtle()
# pen=turtle.Pen()
# pen.write("你好\ni.",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done()
......@@ -12,7 +12,7 @@ pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.penolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
......
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