Commit c66d8898 by BellCodeEditor

auto save

parent c2f1308f
Showing with 12 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file #导入turtle模块
import turtle
#创建画笔并赋值给变量
pen=turtle.Pen()
#书写文字
pen.write("你们好呀,\n小创造师们!",font=("Times",30,"normal"))
#隐藏turtle
pen.hideturtle()
#让画布保持在桌面显示
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