Commit 67ca51ca by BellCodeEditor

save project

parent 7c5169c0
Showing with 13 additions and 5 deletions
import turtle import turtle
pen=tuple.Pen() # pen=tuple.Pen()
pen.write("hi,诺依\n用python太有趣了\n我也喜欢python\悟空",font=("Times",18,"normal")) # pen.write("hi,诺依\n用python太有趣了\n我也喜欢python\悟空",font=("Times",18,"normal"))
pen.hidturtle() # pen.hidturtle()
turtle.done() # turtle.done()
\ No newline at end of file pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
turtle.done()
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