Commit adf4f16d by BellCodeEditor

save project

parent b3ad39df
Showing with 3 additions and 2 deletions
......@@ -18,7 +18,7 @@ screen.bgcolor("pink")
# pen2.goto(-400,y)
# y = y-200
# pen2.down()
len = random.randint(30,150)
len = int(screen.textinput("提示","爱心的大小"))
pen1.pensize(5)
pen1.color("red")
pen1.left(45)
......@@ -30,6 +30,6 @@ pen1.forward(len*2)
pen1.hideturtle()
pen.up()
pen.goto(100,-50)
pen.write("Hi,诺依\n我是悟空。",font=("Times",20,"normal"))
pen.write("Hi,诺依,\n我是悟空。",font=("Times",20,"normal"))
pen.hideturtle()
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