Commit b4a6b95c by BellCodeEditor

save project

parent 07858a54
Showing with 32 additions and 0 deletions
import turtle
Pen=turtle.Pen()
Pen.pencolor("red")
Pen.left(45)
Pen.forward(50)
Pen.circle(50,180)
Pen.right(90)
Pen.circle(50,180)
Pen.forward(50)
Pen.hideturtle()
turtle.done()
import turtle
n=turtle.Screen()
n.bgcolor("blue")
Pen1=turtle.Pen()
Pen1.penup()
Pen1.goto(-100,-100)
Pen1.write("诺一,turtle真好用我会在画布上写字啦!",font=("Times",13,"normal"))
turtle.hideturtle()
Pen=turtle.Pen()
Pen.pencolor("red")
m=60
Pen.left(45)
Pen.forward(2*m)
Pen.circle(m,180)
Pen.right(90)
Pen.circle(m,180)
Pen.forward(2*m)
Pen.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