Commit d0b52ef8 by BellCodeEditor

save project

parent bddcd6ef
Showing with 15 additions and 6 deletions
# 导入turtle模块
import turtle
#创建画笔
pen=turtle.Pen()
pen.write("666666 \n4444 \n88888888 \n648",font=("Times",30,"normal"))
#隐藏画笔
pen.hideturtle()
#保存画布
# pen=turtle.Pen()
# pen.write("666666 \n4444 \n88888888 \n648",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen2=turtle.Pen()
pen2.pensize(5)
pen2.pencolor("red")
pen2.left(45)
pen2.forward(100)
pen2.circle(50,180)
pen2.right(90)
pen2.circle(50,180)
pen2.forward(100)
pen2.hideturtle()
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