Commit 18814deb by BellCodeEditor

save project

parent d33239f0
Showing with 13 additions and 5 deletions
......@@ -6,14 +6,16 @@ pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("谢谢诺依\n--悟空",font=("Times",18,"normal"))
ss=60
ss=turtle.Screen()
sss=screen.textinput("提示","你想要多大的爱心呢?")
zz=int(sss)
pen1=turtle.Pen()
pen1.pensize(5)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(2*ss)
pen1.circle(ss,180)
pen1.forward(2*zz)
pen1.circle(zz,180)
pen1.right(90)
pen1.circle(ss,180)
pen1.forward(2*ss)
pen1.circle(zz,180)
pen1.forward(2*zz)
turtle.done()
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.textinput("名字框","你的名字是:")
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