Commit a0d8a4b3 by BellCodeEditor

auto save

parent 3e929435
Showing with 84 additions and 14 deletions
# 利用write()帮助悟空给诺依回信吧~
len=670
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("green")
pen.penup()
pen.goto(100,-100)
pen.write("asdf\ng*%$^hjk\ndf^*^j\!%&",font=("Times",15,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(10)
pen1.pencolor("light green")
pen1.left(45)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(2*len)
pen2=turtle.Pen()
pen3=turtle.Pen()
pen4=turtle.Pen()
pen5=turtle.Pen()
pen1.pencolor("light blue")
pen2.pencolor("black")
pen3.pencolor("red")
pen4.pencolor("yellow")
pen5.pencolor("light green")
pen1.penup()
pen1.pensize(5)
pen1.goto(-80,0)
pen1.pendown()
pen1.circle(50,360)
pen2.penup()
pen2.pensize(5)
pen2.goto(0,0)
pen2.pendown()
pen2.circle(50,360)
pen3.penup()
pen3.pensize(5)
pen3.goto(80,0)
pen3.pendown()
pen3.circle(50,360)
pen4.penup()
pen4.pensize(5)
pen4.goto(-50,-70)
pen4.pendown()
pen4.circle(50,360)
pen5.penup()
pen5.pensize(5)
pen5.goto(50,-70)
pen5.pendown()
pen5.circle(50,360)
turtle.done()
\ No newline at end of file
import turtle
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