Commit 40d51ccd by BellCodeEditor

save project

parent c2f1308f
Showing with 9 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file import turtle #导入模块
pen=turtle.Pen() #创建画笔
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