Commit 81627bc6 by BellCodeEditor

save project

parent edb4883f
Showing with 3 additions and 1 deletions
......@@ -3,7 +3,8 @@ pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
sereen=turtle.Screen()
len=60
len=sereen.textinput("对话框","爱心大小")
len=int(len)
sereen.bgcolor("pink")
pen.hideturtle()
pen.write("诺依,\n你好呀",font=("Times",13,"normal"))
......@@ -12,6 +13,7 @@ pen1.pensize(5)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
......
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