Commit 48254365 by BellCodeEditor

save project

parent 349f423f
Showing with 3 additions and 3 deletions
...@@ -5,9 +5,9 @@ pen = turtle.Pen() ...@@ -5,9 +5,9 @@ pen = turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好,/n你的信真丑",font=("Times",20,'normal')) pen.write("你好,/n你的信真丑",font=("Times",20,'normal'))
len=30 lovesize=screen.textinput("提示","你想要都大的爱心?")
len=int(lovesize)
#pen1用来画爱心 #pen1用来画2*len
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.left(45) pen1.left(45)
pen1.forward(2*len) pen1.forward(2*len)
......
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