Commit 1034194a by BellCodeEditor

save project

parent a50ceeec
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
s=turtle.Screen()
s.bgcolor("blue")
pen.penup()
pen.goto(100,-100)
pen.write("你好,\n诺伊我是你爹",font=("Times",20,"normal"))
pen.hideturtle()
len=60
p=turtle.Pen()
p.pensize(2)
p.pencolor("red")
p.left(45)
p.forward(2*len)
p.circle(len,180)
p.right(90)
p.circle(len,180)
p.forward(2*len)
p.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