Commit 822bef38 by BellCodeEditor

save project

parent a55f3bf7
Showing with 3 additions and 3 deletions
...@@ -4,13 +4,13 @@ import turtle ...@@ -4,13 +4,13 @@ import turtle
# screen.bgcolor("light pink") # screen.bgcolor("light pink")
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light pink") screen.bgcolor("light pink")
len=screen.textinput("100","100") len=screen.textinput("你好诺依","你什么时候过生日?")
len=int(len) len=int(len)
# pen=turtle.Pen() # pen=turtle.Pen()
# pen.write("你好\nSB.",font=("Times",20,"normal")) # pen.write("你好\nSB.",font=("Times",20,"normal"))
# pen.hideturtle() # pen.hideturtle()
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好,好久不见\n诺依.",font=("Times",30,"normal")) pen.write("你好,好久不见\n诺依,我告诉你一句话:\n月有阴晴圆缺,\n人有悲欢离合,\n命有否泰变化\n年有四季更替。.",font=("Times",15,"normal"))
pen.hideturtle() pen.hideturtle()
# len=60 # len=60
# pen.penup() # pen.penup()
...@@ -27,7 +27,7 @@ pen.hideturtle() ...@@ -27,7 +27,7 @@ pen.hideturtle()
# turtle.done() # turtle.done()
len=60 len=60
pen.penup() pen.penup()
pen.goto(-100,0) pen.goto(-150,0)
pen.pendown() pen.pendown()
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
......
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