Commit 843f52ce by BellCodeEditor

save project

parent 0f06e6e0
Showing with 9 additions and 10 deletions
......@@ -2,21 +2,19 @@ import turtle
pen=turtle.Pen()
pen.color("light blue")
pen.hideturtle()
pen.goto(-100,0)
pen.goto(-300,0)
pen.up()
pen.write("lbwnb,lbwnb",font=("Times",20,"normal"))
pen1=turtle.Pen()
pen1.color("red")
screen=turtle.Screen()
a=screen.textinput("姓名框","can we kiss forever:")
a=int(a)
pen1.left(45)
pen1.forward(2*a)
pen1.circle(a,180)
pen1.forward(200)
pen1.circle(100,180)
pen1.right(90)
pen1.circle(a,180)
pen1.forward(2*a)
pen1.circle(100,180)
pen1.forward(200)
pen1.hideturtle()
screen=turtle.Screen()
a=screen.textinput("姓名框","can we kiss forever:")
a=int(a)
turtle.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