Commit 84eacd46 by BellCodeEditor

save project

parent 51c9d04f
Showing with 3 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\n.諾依\n,想不到\n我是悟空吧!\n好久不见,\n我和小贝都很想你.\n你什么时候\n才能来我们\n这做客呢?",font=("Times",30,"normal")) pen.penup()
pen.goto(100,-100)
pen.write("你好\n.諾依\n,想不到\n我是悟空吧!\n好久不见,\n我和小贝都很想你.\n你什么时候\n才能来我们\n这做客呢?\n--悟空,小贝",font=("Times",10,"normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("blue") pen1.pencolor("blue")
pen1.pensize(5) pen1.pensize(5)
......
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