Commit b66cd592 by BellCodeEditor

auto save

parent 52a79d55
Showing with 15 additions and 17 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen()
pen.write("傻der",font=("Time",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
len=60
len.textinput("你想要多大的园?")
pen1.pensize(5)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(2*len)
pen1.circle(len,180)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(2*len)
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("pink") screen.bgcolor("pink")
pen=turtle.Pen()
pen.pensize(120)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.left(-90)
pen.circle(50,180)
pen.forward(100)
pen.penup() pen.penup()
pen.goto(200,-160) pen.goto(100,140)
pen1.hideturtle() pen.pendown()
pen.pensize(10)
pen.write("花开四季,感恩有你。")
pen.hideturtle()
turtle.done() 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