Commit d2db42c5 by BellCodeEditor

auto save

parent 129f74bb
Showing with 12 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
#Pen=turtle.Pen() Pen=turtle.Pen()
#Pen.write("诺伊,\nturtle真好用,\n我回在画布上写字啦!",font=("Times",30,"normal")) pen.goto(-100,0)
#Pen.hideturtle() Pen.write("诺伊,\nturtle真好用,\n我回在画布上写字啦!",font=("Times",30,"normal"))
#turtle.done() Pen.hideturtle()
turtle.penup()
Pen1=turtle.Pen() Pen1=turtle.Pen()
Pen1.pencolor("red") Pen1.pencolor("red")
Pen1.pensize(5) Pen1.pensize(5)
...@@ -14,4 +17,8 @@ Pen1.right(90) ...@@ -14,4 +17,8 @@ Pen1.right(90)
Pen1.circle(50,180) Pen1.circle(50,180)
Pen1.forward(100) Pen1.forward(100)
Pen1.hideturtle() Pen1.hideturtle()
screen=turtle.Screen()
screen.bgcolor("light pink")
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