Commit 858014d0 by BellCodeEditor

save project

parent 72de2017
Showing with 8 additions and 6 deletions
...@@ -6,19 +6,20 @@ t.penup() ...@@ -6,19 +6,20 @@ t.penup()
t.goto(100,-300) t.goto(100,-300)
t.write("你好呀\n再见",font=("Times",40,"normal")) t.write("你好呀\n再见",font=("Times",40,"normal"))
len=60
t.penup() t.penup()
t.goto(0,0) t.goto(0,0)
t.pendown() t.pendown()
t.pensize(10) t.pensize(10)
t.color("red","green") t.pencolor("red")
t.begin_fill() t.begin_fill()
t.left(45) t.left(45)
t.forward(100) t.forward(len*2)
t.circle(50,180) t.circle(len,180)
t.right(90) t.right(90)
t.circle(50,180) t.circle(len,180)
t.forward(100) t.forward(len*2)
t.end_fill() t.end_fill()
t.hideturtle() t.hideturtle()
t.done() t.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