Commit f88c6357 by BellCodeEditor

auto save

parent 2546473e
Showing with 8 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
#添加背景颜色
screen=turtle.Screen()
screen.bgcolor("light blue")
#写字
pen=turtle.Pen()
pen.write("诺依,\nturtle真好用,\n我会在画布上写字啦!",font=("times",20,"normal"))
pen.penup()
pen.goto(100,-100)
pen.write("诺依,\nturtle真好用,\n我会在画布上写字啦!",font=("times",15,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
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