Commit c35fc885 by BellCodeEditor

save project

parent 858014d0
Showing with 42 additions and 5 deletions
......@@ -6,20 +6,58 @@ t.penup()
t.goto(100,-300)
t.write("你好呀\n再见",font=("Times",40,"normal"))
len=60
len=int(screen.textinput("提示","输入半径大小:"))
t.penup()
t.goto(0,0)
t.pendown()
t.pensize(10)
t.pencolor("red")
t.begin_fill()
t.left(45)
t.forward(len*2)
t.circle(len,180)
t.right(90)
t.circle(len,180)
t.forward(len*2)
t.end_fill()
t.hideturtle()
t.done()
\ No newline at end of file
t.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