Commit eb80c2ff by BellCodeEditor

save project

parent 2c023b1c
Showing with 8 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.color("red") pen.color("red")
# pen.write("[^~^]",font=("times",30,"normal")) pen.goto(-200,20)
# pen.hideturtle() pen.write("[^~^]",font=("times",30,"normal"))
pen.hideturtle()
p=turtle.Pen() p=turtle.Pen()
p.pensize(11) p.pensize(11)
p.pencolor("red") p.pencolor("red")
...@@ -14,4 +14,6 @@ p.right(90) ...@@ -14,4 +14,6 @@ p.right(90)
p.circle(50,180) p.circle(50,180)
p.forward(100) p.forward(100)
p.hideturtle() p.hideturtle()
s=turtle.Screen()
s.bgcolor("blue")
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