Commit 824306b8 by BellCodeEditor

save project

parent 995f0b49
Showing with 17 additions and 7 deletions
from turtle import*
# write("诺伊,\n你要戒尺吗",font=("Times",30,"normal"))
# hideturtle()
# done()
len=""
screen=Screen()
len=screen.textinput("提示","输入大小")
len=int(len)
Screen=Screen()
Screen.bgcolor("light green")
write("诺伊,\n你要戒尺吗",font=("Times",30,"normal"))
penup()
hideturtle()
goto(-100,0)
pendown()
pensize(5)
pencolor("green")
left(45)
fd(100)
circle(50,180)
fd(2*len)
circle(len,180)
right(90)
circle(50,180)
fd(100)
circle(len,180)
fd(2*len)
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