Commit 11a28f11 by BellCodeEditor

save project

parent 8d212a7c
Showing with 5 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.write("悟空:Hello!\nI'm Wu Kong.\nI love you.\n卧槽!\n啪啪啪!(打脸中)",font = ("times",30,"normal")) screen = turtle.Screen()
screen.bgcolor("pink")
pen.penup()
pen.goto(100,-100)
pen.write("悟空:Hello!\nI'm Wu Kong.\nI love you.\n卧槽!\n啪啪啪!(打脸中)",font = ("times",15,"normal"))
pen.hideturtle() pen.hideturtle()
# turtle.done()
# 爱心
pen1 = turtle.Pen() pen1 = turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
......
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