Commit 8b22d5ad by BellCodeEditor

auto save

parent 235446b6
Showing with 3 additions and 3 deletions
...@@ -3,10 +3,10 @@ import turtle ...@@ -3,10 +3,10 @@ import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) A=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.up() pen.up()
pen.goto(200,-300) pen.goto(150,-200)
pen.write("你好\n诺依\n你好吗?\n你们都是傻逼啊!\nTM让我回信.",font=("Times",30,"normal")) pen.write("你好\n诺依\n你好吗?\n你们都是傻逼啊!\nTM让我回信.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
...@@ -16,7 +16,7 @@ pen.pendown() ...@@ -16,7 +16,7 @@ pen.pendown()
pen.pensize(5) pen.pensize(5)
turtle.pencolor("red") turtle.pencolor("red")
turtle.left(45) turtle.left(45)
turtle.forward(len*2) turtle.forward(A*2)
turtle.circle(len,180) turtle.circle(len,180)
turtle.right(90) turtle.right(90)
turtle.circle(len,180) turtle.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