Commit e1a7ad02 by BellCodeEditor

save project

parent bb303409
Showing with 13 additions and 1 deletions
...@@ -4,7 +4,7 @@ screen.bgcolor("light blue") ...@@ -4,7 +4,7 @@ screen.bgcolor("light blue")
pen=turtle.pen() pen=turtle.pen()
pen.penup() pen.penup()
pen.goto(-100,0) pen.goto(-100,0)
pen.write("祝你生日快乐!"font=("Times",30,"normal")) pen.write("祝你生日快乐"font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
# pen=turtle.Pen() # pen=turtle.Pen()
...@@ -21,4 +21,16 @@ penl.circle(50,180) ...@@ -21,4 +21,16 @@ penl.circle(50,180)
penl.forward(100) penl.forward(100)
penl.hideturtle() penl.hideturtle()
# turtle.done() # turtle.done()
import turtle
screen=turtle.Screen()
len=screen.textinput("提示""你想要多大的爱心呀?")
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