Commit 7938c64b by BellCodeEditor

save project

parent c2f1308f
Showing with 14 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file #导入turtle模块
import turtle
#定义画笔pen
pen=turtle.Pen()
#写字pen.write(),注意使用换行
pen.write("诺依,你好\n我会用python写字了",font=("Times",30,"normal"))
#隐藏画笔
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