Commit 86e12158 by BellCodeEditor

save project

parent 18e9592b
Showing with 12 additions and 8 deletions
...@@ -3,15 +3,18 @@ screen=turtle.Screen() ...@@ -3,15 +3,18 @@ screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.pencolor("red") pen.pencolor("light yellow")
pen.goto(100,-100) pen.goto(100,-100)
pen.write("Hi\nxxx\n123",font("宋体",20,"normal")) pen.write("Hi\nxxx\n123",font("宋体",20,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done()
len=50
pen1=turtle.Pen
pen1.pencolor("red")
pen1.left(45)
pen1.foward(2*50)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(2*len)
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