Commit 966f4c3c by BellCodeEditor

save project

parent 9055efdf
Showing with 20 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧
import turtle
s=turtle.Screen()
s.bgcolor("lightblue")
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,0)
pen1.write("你好呀,\n很多很多",font=("times",13,"normal"))
pen1.hideturtle()
pen2=turtle.Pen()
len=70
pen2.pensize(10)
pen2.pencolor("red")
pen2.left(45)
pen2.forward(2*len)
pen2.circle(len,180)
pen2.right(90)
pen2.circle(len,180)
pen2.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