Commit 056e30c4 by BellCodeEditor

save project

parent 07858a54
Showing with 27 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
s.bgcolor("light pink")
pen = turtle.Pen()
pen.hideturtle()
pen.penup()
pen.goto(100,-100)
pen.write("Thank you!",font=("Consolas",30,"normal"))
penA = turtle.Pen()
penA.pensize(9)
penA.penup()
penA.goto(0,-50)
penA.pendown()
penA.pencolor("red")
n = 80
penA.left(45)
penA.fd(n*2)
penA.circle(n,180)
penA.right(90)
penA.circle(n,180)
penA.fd(n*2)
penA.hideturtle()
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