Commit 9362b814 by BellCodeEditor

save project

parent 535818de
Showing with 7 additions and 7 deletions
......@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
pen.write("你好\nphhh.",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
......
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
# len=screen.textinput("100","100")
# len=int(len)
len=screen.textinput("100","100")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
......@@ -12,11 +11,12 @@ penlove=turtle.Pen()
penlove.pensize(5)
penlove.pencolor("red")
penlove.left(45)
penlove.forward(100)
penlove.circle(50,180)
len=60
penlove.forward(2*len)
penlove.circle(len,180)
penlove.right(90)
penlove.circle(50,180)
penlove.forward(100)
penlove.circle(len,180)
penlove.forward(2*len)
turtle.done()
# penlove.penup()
# penlove.goto(100,100)
......
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