Commit 20b95411 by BellCodeEditor

save project

parent 654bc3ba
Showing with 20 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
pen=turtle.Pen()
s.bgcolor("light blue")
pen.write("你好.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup()
pen.goto(0,-170)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
len=150
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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