Commit 25bd1eb4 by BellCodeEditor

save project

parent a107b2c9
Showing with 9 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.write("hi\nhi\n悟空",font=("Times",50,"normal")) pen.penup()
# pen.hideturtle() pen.goto(100,-150)
# turtle.done() pen.write("hi\nhi\n悟空",font=("Times",50,"normal"))
pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pensize(10) pen1.pensize(10)
pen1.pencolor("red") pen1.pencolor("red")
...@@ -14,4 +15,7 @@ pen1.right(90) ...@@ -14,4 +15,7 @@ pen1.right(90)
pen1.circle(65,180) pen1.circle(65,180)
pen1.forward(130) pen1.forward(130)
pen1.hideturtle() pen1.hideturtle()
turtle.done() screen=turtle.Screen()
\ No newline at end of file screen.bgcolor("light blue")
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