Commit 3ee47a10 by BellCodeEditor

save project

parent 6c6412a0
Showing with 5 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen =turtle.Pen()
pen.up()
pen.penup()
pen.goto(100,-100)
pen.write("床前明月光,\n疑是地上霜。",font=('Times',25,'bold'))
pen.hideturtle()
turtle.done()
pen=turtle.Pen()
pen.write("床前明月光,\n疑是地上霜。",font=('Times',30,'bold'))
pen.goto(0,0)
pen.pendown()
pen.color("red")
pen.pensize(5)
pen.left(45)
......@@ -15,6 +14,7 @@ pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.goto(0,0)
turtle.bgcolor("pink")
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