Commit 04ef6983 by BellCodeEditor

save project

parent b7d56ad5
Showing with 6 additions and 5 deletions
...@@ -2,18 +2,19 @@ import turtle ...@@ -2,18 +2,19 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好呀",font=("Times",15,"normal")) pen.write("你好呀,",font=("Times",15,"normal"))
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("lightgreen") screen.bgcolor("lightgreen")
len=100
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(6) pen1.pensize(6)
pen1.color("red") pen1.color("red")
pen1.left(45) pen1.left(45)
pen1.fd(100) pen1.fd(len*2)
pen1.circle(50,180) pen1.circle(len,180)
pen1.rt(90) pen1.rt(90)
pen1.circle(50,180) pen1.circle(len,180)
pen1.fd(100) pen1.fd(len*2)
pen1.hideturtle() pen1.hideturtle()
turtle.done() 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