Commit 54ccd239 by BellCodeEditor

auto save

parent 282d2b69
Showing with 12 additions and 3 deletions
......@@ -3,9 +3,13 @@ screen=turtle.Screen()
pen=turtle.Pen()
screen.bgcolor("red")
pen.penup()
pen.goto(100,-100)
pen.write("1234567\n1234567\n1234567\n",font=("Times",20,"normal"))
pen.goto(100,-124)
pen.write("1\n12\n123\n1234\n12345\n",font=("Times",20,"normal"))
pen.hideturtle()
len=screen.textinput("问话框","圆的半径:")
lovesize=int(len)
len1=screen.textinput("问话框","字体大小:")
lovesize1=int(len1)
def huaaixin(a,b):
pena=turtle.Pen()
pena.pencolor("blue")
......@@ -17,7 +21,7 @@ def huaaixin(a,b):
pena.circle(b/2,180)
pena.forward(b)
pena.hideturtle()
huaaixin(10,200)
huaaixin(lovesize1,lovesize)
turtle.done()
......
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