Commit ee44779e by BellCodeEditor

save project

parent c816b9b8
Showing with 24 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
Pen=turtle.Pen()
Pen.penup()
Pen.goto(100,-100)
Pen.write("诺依,turtle真好用,我会在画布上写字啦!",font=("Times","15","normal"))
Pen.hideturtle
Pen1=turtle.Pen()
Pen1.pensize(5)
Pen1.pencolor("red")
len=50
Pen1.left(45)
Pen1.forward(2*len)
Pen1.circle(len,180)
Pen1.right(90)
Pen1.circle(len,180)
Pen1.forward(2*len)
Pen1.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