Commit 70aeb9d7 by BellCodeEditor

save project

parent 77285a54
Showing with 6 additions and 4 deletions
import turtle
pen=turtle.Pen()
pen.pensize("red")
pen.pencolor("red")
pen.pensize(10)
screen=turtle.Screen()
screen.bgcolor("light pink")
pen.fillcolor("red")
......@@ -14,5 +15,7 @@ pen.forward(100)
pen.penup()
pen.forward(100)
pen.pendown()
pen.write("你,聪明的\n告诉我,\n什么是快乐星球?",font=("Times",50,"normal"))
pen.end_fill()
\ No newline at end of file
pen.write("你,聪明的,\n告诉我,\n什么是快乐星球?",font=("Times",30,"normal"))
pen.end_fill()
pen.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