Commit 446b52a8 by BellCodeEditor

save project

parent 06d176b7
Showing with 19 additions and 18 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
len=60
import turtle import turtle
pen=turtle.Pen() for i in range(1,60,-2):
pen.penup() len=i
pen.goto(100,-100) pen=turtle.Pen()
pen.write("收到",font=("Times",30,"normal")) pen.penup()
pen.hideturtle() pen.goto(100,-100)
pen1=turtle.Pen() pen.write("收到",font=("Times",30,"normal"))
pen1.pencolor("red") pen.hideturtle()
pen1.pensize(5) pen1=turtle.Pen()
pen1.left(45) pen1.pencolor("red")
pen1.forward(2*len) pen1.pensize(5)
pen1.circle(len,180) pen1.left(45)
pen1.right(90) pen1.forward(2*len)
pen1.circle(len,180) pen1.circle(len,180)
pen1.forward(2*len) pen1.right(90)
pen1.hideturtle() pen1.circle(len,180)
screen=turtle.Screen() pen1.forward(2*len)
screen.bgcolor("pink") pen1.hideturtle()
screen=turtle.Screen()
screen.bgcolor("pink")
tuetle.done() tuetle.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