Commit d3efe5ce by BellCodeEditor

auto save

parent bf727402
Showing with 0 additions and 5 deletions
...@@ -2,13 +2,9 @@ ...@@ -2,13 +2,9 @@
import turtle 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) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.pendown()
pen.write("你好\n,1234",font=("Times",30,"normal")) pen.write("你好\n,1234",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
pen.left(45) pen.left(45)
...@@ -17,5 +13,4 @@ pen.circle(50,180) ...@@ -17,5 +13,4 @@ pen.circle(50,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.heading()
turtle.done() turtle.done()
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