Commit 4207d62a by BellCodeEditor

save project

parent be23efd1
Showing with 10 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# pen=turtle.Pen()
# pen.write("我喜欢你\n我好爱你\n我们在一起吧\n哈哈哈哈哈哈",font=("times",38,"normal"))
# pen.hideturtle()
# turtle.done()
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("pink")
pen.penup()
pen.goto(-200,0)
pen.color("green")
pen.write("我喜欢你\n我好爱你\n我们在一起吧\n哈哈哈哈哈哈",font=("times",18,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.color("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
......@@ -13,3 +18,4 @@ pen1.circle(50,180)
pen1.forward(100)
pen1.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