Commit 35c4bf54 by BellCodeEditor

save project

parent e2cf7783
Showing with 7 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
# pen.write("Hello,Tommy.\nI'm your dad.\nGo and find me.\nGoodbye!",font=("华文行楷",30,"normal"))#Calibri screen=turtle.Screen()
screen.bgcolor("pink")
pen.penup()
pen.goto(100,-100)
pen.write("春眠不觉晓,\n处处蚊子咬。\n每人都打蚊,\n不知死多少。\nHello,Tommy.\nI'm your dad.\nGo and find me.\nGoodbye!",font=("华文行楷",30,"normal"))#Calibri
pen.goto(0,0)
pen.pendown()
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5) pen.pensize(5)
pen.left(45) pen.left(45)
......
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