Commit 3fdf4dc7 by BellCodeEditor

save project

parent 19784e16
Showing with 16 additions and 2 deletions
write()# 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file
import turtle
screen=turtle.Screen
screen.bgcolor("ligth blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("hello")
pen.fillcolor("red")
pen.begin_fill()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.hideturtle()
pen.end_fill()
turtle.done()
\ No newline at end of file
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