Commit 378645ba by BellCodeEditor

auto save

parent c2f1308f
Showing with 16 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file
# 导入turtle模块
import turtle
# 创建画笔
pen = turtle.Pen()
# 使用画笔写字
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空",font=("Times",18,"normal"))
# 隐藏画笔
pen.hideturtle()
# 保留画布
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