Commit c9ddf593 by BellCodeEditor

save project

parent d07b9791
Showing with 18 additions and 5 deletions
import turtle import turtle
pen=turtle.Pen() # pen=turtle.Pen()
pen.write("诺依,\nturtle真好用,\n我会在画布上写字啦",font=("times",30,"normal")) # pen.write("诺依,\nturtle真好用,\n我会在画布上写字啦",font=("times",30,"normal"))
pen.hideturtle() # pen.hideturtle()
turtle.done() # turtle.done()
\ No newline at end of file penl=turtle.Pen()
penl.pensize(5)
penl.pencolor("red")
penl.left(45)
penl.forward(100)
penl.circle(50,180)
penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.hideturtle()
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