Commit 60a30b97 by BellCodeEditor

save project

parent 31df42a0
Showing with 7 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好,你的信\n真的好丑啊!!\n我的信才好看",font=("times","20","normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
...@@ -9,6 +15,4 @@ pen1.circle(50,180) ...@@ -9,6 +15,4 @@ pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.hideturtle() pen1.hideturtle()
turtle.done() turtle.done()
# turtle.done()
# pen.write("你好,你的信\n真的好丑啊!!",font=("times","30","normal"))
# pen=turtle.Pen()
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