Commit a96e5d8d by BellCodeEditor

save project

parent 38df0f72
Showing with 14 additions and 3 deletions
import turtle #导入turtle模块 import turtle #导入turtle模块
pen=turtle.Pen() #创建画笔 pen=turtle.Pen() #创建画笔
# pen.hideturtle()
# pen.write("你好",font=("Times",30,"normal"))
# turtle.done()
pen.color("red")
pen.pensize(5)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle() pen.hideturtle()
pen.write("你好",font=("Times",30,"normal")) # pen.end_fill()
turtle.done() turtle.done()
\ 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