Commit 2d23e27c by BellCodeEditor

save project

parent b6a6ad33
Showing with 15 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("诺依\n 你还好吗",font=("Times",30,"normal")) screen=turtle.Screen()
screen.bgcolor("pink")
pen.pencolor("red")
pen.pensize(10)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.penup()
pen.goto(100,-100)
pen.write("诺依\n 你好吗",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() 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