Commit cf0d88ed by BellCodeEditor

save project

parent 3300ef16
Showing with 6 additions and 5 deletions
......@@ -2,20 +2,21 @@
import turtle
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.goto(-40,-100)
pen1.write("你好呀!",font=("Times",20,"normal"))
pen1.hideturtle()
screen=turtle.Screen()
screen.bgcolor("gold")
pen=turtle.Pen()
len=100
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(len,180)
pen.forward(len*2)
pen.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