Commit d521b03c by BellCodeEditor

save project

parent 98802c36
Showing with 17 additions and 4 deletions
......@@ -2,14 +2,21 @@ import turtle
pen=turtle.Pen()
pen.color("light blue")
pen.hideturtle()
pen.goto(-100,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(100)
pen1.circle(50,180)
pen1.forward(2*a)
pen1.circle(a,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(a,180)
pen1.forward(2*a)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","can we kiss forever:")
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