Commit 7eda6a85 by BellCodeEditor

auto save

parent 3de5f988
Showing with 45 additions and 1 deletions
......@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好,\n我是SB.",font=("Times",30,"normal"))
pen.write("你好,\n小编成家.",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
......
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen.penup()
pen.goto(90,-90)
pen.write("你好,诺伊\n因为你,我也爱上了PYTHON,\n我们一定会在编程的路上,\n远走高飞",font=("Times",15,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.fillcolor("pink")
pen1.begin_fill()
pen1.pensize(5)
pen1.pencolor("pink")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
pen1.end_fill()
turtle.done()
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen.penup()
pen.goto(90,-90)
pen.write("你好,诺伊\n因为你,我也爱上了PYTHON,\n我们一定会在编程的路上,\n远走高飞",font=("Times",15,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.fillcolor("pink")
pen1.begin_fill()
pen1.pensize(5)
pen1.pencolor("pink")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
pen1.end_fill()
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