Commit 16ba4948 by BellCodeEditor

save project

parent a50ceeec
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
len = 69.1
pen = turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("light yellow")
pen.penup()
pen.goto(100,-150)
pen.write("诺伊,\n你好呀。\n我会打字了!",font=("Times",50,"normal"))
pen.hideturtle()
pen250=turtle.Pen()
pen250.pensize(40)
pen250.pencolor("green")
pen250.left(45)
pen250.forward(2*len)
pen250.circle(len,180)
pen250.right(90)
pen250.circle(len,180)
pen250.forward(2*len)
pen250.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